switch to oxalica/rust-overlay
Dependencies
- [2]
OC3QJUVKUpdate to rust 1.54. Needed by clap. - [3]
GHO6DWPIRefactoring iterators - [4]
ZWPPIJXFflake.nix: use Mozilla overlay for Rust - [5]
IXGIROWKflake.nix: add rust-src to devShell - [6]
WZYPQBYNflake: use crate2nix from Nixpkgs - [7]
LNZVL2QQupdate build tools - [8]
VN6L65VRflake.nix: remove unnecessary build inputs - [9]
7O3EMT3VFix rustChannelOf usage (the argument is sha256, not hash) to fix pure evaluation - [10]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [11]
G734WNM6flake.nix: use crate2nix
Change contents
- replacement in "flake.nix" at line 4
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-21.05";inputs.mozilla = { url = "github:mozilla/nixpkgs-mozilla"; flake = false; };inputs = {nixpkgs.url = "github:nixos/nixpkgs/nixos-21.05";rust-overlay.url = "github:oxalica/rust-overlay";}; - replacement in "flake.nix" at line 12
, mozilla, rust-overlay - replacement in "flake.nix" at line 21[3.191]→[3.191:248](∅→∅),[3.248]→[2.0:108](∅→∅),[3.76]→[3.357:370](∅→∅),[2.108]→[3.357:370](∅→∅),[3.168]→[3.357:370](∅→∅),[3.67749]→[3.357:370](∅→∅),[3.357]→[3.357:370](∅→∅)
letrustChannel = prev.rustChannelOf {channel = "1.54.0";sha256 = "sha256-2NfCJiH3wk7sR1XlRf8+IZfY3S9sYKdL8TpMqk82Bq0=";};let rustChannel = prev.rust-bin.stable."1.54.0"; - replacement in "flake.nix" at line 25
rustc = rustChannel.rust;cargo = rustChannel.rust;rustc = rustChannel.minimal;cargo = rustChannel.minimal; - replacement in "flake.nix" at line 34
(import "${mozilla}/rust-overlay.nix")(import rust-overlay) - replacement in "flake.nix" at line 54
# rustChannel.rust provides tools like clippy, rustfmt, cargo,# rust-analyzer, rustc, and more.(rustChannel.rust.override { extensions = [ "rust-src" ]; })(rustChannel.default.override { extensions = [ "rust-src" ]; }) - replacement in "flake.lock" at line 3
"mozilla": {"flake": false,"flake-utils": { - replacement in "flake.lock" at line 5[3.896]→[3.169:279](∅→∅),[3.279]→[3.1006:1069](∅→∅),[3.1006]→[3.1006:1069](∅→∅),[3.1069]→[3.280:339](∅→∅)
"lastModified": 1627552629,"narHash": "sha256-OWA7Z2WL2JvDTZVN/jFIjCZRp/jFyqjb0l982o186eE=","owner": "mozilla","repo": "nixpkgs-mozilla","rev": "4a07484cf0e49047f82d83fd119acffbad3b235f","lastModified": 1623875721,"narHash": "sha256-A8BU7bjS5GirpAUv4QA+QnJ4CceLHkcXdRp4xITDB0s=","owner": "numtide","repo": "flake-utils","rev": "f7e004a55b120c02ecb6219596820fcd32ca8772", - replacement in "flake.lock" at line 13
"owner": "mozilla","repo": "nixpkgs-mozilla","owner": "numtide","repo": "flake-utils", - edit in "flake.lock" at line 34
"nixpkgs_2": {"locked": {"lastModified": 1628186154,"narHash": "sha256-r2d0wvywFnL9z4iptztdFMhaUIAaGzrSs7kSok0PgmE=","owner": "NixOS","repo": "nixpkgs","rev": "06552b72346632b6943c8032e57e702ea12413bf","type": "github"},"original": {"owner": "NixOS","repo": "nixpkgs","type": "github"}}, - edit in "flake.lock" at line 50
"inputs": {"nixpkgs": "nixpkgs","rust-overlay": "rust-overlay"}},"rust-overlay": { - replacement in "flake.lock" at line 57[3.248285]→[3.1286:1316](∅→∅),[3.1316]→[3.1026722:1026751](∅→∅),[3.248285]→[3.1026722:1026751](∅→∅),[3.1026722]→[3.1026722:1026751](∅→∅)
"mozilla": "mozilla","nixpkgs": "nixpkgs""flake-utils": "flake-utils","nixpkgs": "nixpkgs_2"},"locked": {"lastModified": 1635041777,"narHash": "sha256-36LeviqJlWikocBObavRcaFnAQDdbr1Yaze2y7t0Ie0=","owner": "oxalica","repo": "rust-overlay","rev": "21ec729445fbf58ac59061c2694063799e9ee1aa","type": "github"},"original": {"owner": "oxalica","repo": "rust-overlay","type": "github"