Get nix base builds working again
Dependencies
- [2]
PNJL5TPZVersion bump - [3]
POBHKKNGUse nixpkgs builtin Rust build tools This fixes the broken flake packages and prevents having to manually update any sort of Nix-specific lock file, which should make it less prone to breaking in the future. - [4]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [5]
MUYNSHG2update Nix build for Rust 2021 edition requirement - [6]
VKBJ6XB6Formatting and version bump - [7]
G734WNM6flake.nix: use crate2nix - [8]
ZWPPIJXFflake.nix: use Mozilla overlay for Rust - [9]
X243Z3Y5Recording only the required metadata (can even be changed later!) - [10]
QAXLX3UABackwards-compatibility: moving old paths to the new "roots" feature - [11]
YN63NUZOSanakirja 1.0 - [12]
LNZVL2QQupdate build tools - [13]
XXYMJ6PMupdate Rust for CVE-2022-21658 - [14]
WZYPQBYNflake: use crate2nix from Nixpkgs - [15]
RNNJ4ORVshell uses the flake - [*]
LAFA7YMQswitch to oxalica/rust-overlay - [*]
EJ7TFFOWRe-adding Cargo.lock - [*]
RVAH6PXAGetting libpijul to compile to WASM32 - [*]
RDQYEED2Fixing versions
Change contents
- replacement in shell.nix at line 1
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {src = ./.;}).shellNix.default[4.12](import(let lock = builtins.fromJSON (builtins.readFile ./flake.lock); infetchTarball {url = lock.nodes.flake-compat.locked.url or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";sha256 = lock.nodes.flake-compat.locked.narHash;}){ src = ./.; }).shellNix - edit in flake.nix at line 6
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"; - edit in flake.lock at line 3
"flake-compat": {"locked": {"lastModified": 1696426674,"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=","rev": "0f9255e01c2351cc7d116c072cb317785dd33b33","revCount": 57,"type": "tarball","url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"},"original": {"type": "tarball","url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"}}, - replacement in flake.lock at line 19
"lastModified": 1700856099,"narHash": "sha256-RnEA7iJ36Ay9jI0WwP+/y4zjEhmeN6Cjs9VOFBH7eVQ=","lastModified": 1703499205,"narHash": "sha256-lF9rK5mSUfIZJgZxC3ge40tp1gmyyOXZ+lRY3P8bfbg=", - replacement in flake.lock at line 23
"rev": "0bd59c54ef06bc34eca01e37d689f5e46b3fe2f1","rev": "e1fa12d4f6c6fe19ccb59cac54b5b3f25e160870", - edit in flake.lock at line 35
"flake-compat": "flake-compat", - replacement in default.nix at line 2
(fetchTarball {url = "https://github.com/edolstra/flake-compat/archive/c71d063a2fce96001c7ef99b301dfbd0c29ebde1.tar.gz";sha256 = "0vnbhqf0lc4mf2zmzqbfv6kqj9raijxz8xfaimxihz3c6s5gma2x";}){ src = ./.; }).defaultNix[4.248547](let lock = builtins.fromJSON (builtins.readFile ./flake.lock); infetchTarball {url = lock.nodes.flake-compat.locked.url or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";sha256 = lock.nodes.flake-compat.locked.narHash;}){ src = ./.; }).defaultNix - edit in Cargo.lock at line 593
][[package]]name = "conpty"version = "0.5.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b72b06487a0d4683349ad74d62e87ad639b09667082b3c495c5b6bab7d84b3da"dependencies = ["windows", - edit in Cargo.lock at line 1010
][[package]]name = "exitcode"version = "1.1.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"[[package]]name = "expectrl"version = "0.7.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "ede784925953fcab9a3351d5009bcb8d2b0c13e940924c88087e8e2ce0c4717a"dependencies = ["conpty","nix 0.26.4","ptyprocess","regex", - edit in Cargo.lock at line 1931
"pin-utils", - edit in Cargo.lock at line 2245
"exitcode","expectrl", - edit in Cargo.lock at line 2401
][[package]]name = "ptyprocess"version = "0.4.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7e05aef7befb11a210468a2d77d978dde2c6381a0381e33beb575e91f57fe8cf"dependencies = ["nix 0.26.4", - edit in Cargo.lock at line 3605[18.78789][20.9647]
[[package]]name = "windows"version = "0.44.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b"dependencies = ["windows-targets 0.42.2",]