nix: Use rustup toolchain

Wire up `crane` and `rust-overlay` to allow the `devShell` to take
advantage of the `rust-toolchain.toml` definitions, and provide Nix
developers with the correct toolchain.
This commit is contained in:
Fintan Halpenny
2026-05-19 15:40:11 +01:00
parent a8ba8f1274
commit d00a99d670
2 changed files with 53 additions and 2 deletions
Generated
+17 -1
View File
@@ -17,6 +17,21 @@
}
},
"crane": {
"locked": {
"lastModified": 1779130139,
"narHash": "sha256-BLrtr42azquO7MdGFU5a7KiMl3YpFlTeIXqy1fT5GlQ=",
"owner": "ipetkov",
"repo": "crane",
"rev": "edb38893982a3338972bb4a2ec7ce7c29ba10fd9",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"crane_2": {
"locked": {
"lastModified": 1771121070,
"narHash": "sha256-aIlv7FRXF9q70DNJPI237dEDAznSKaXmL5lfK/Id/bI=",
@@ -131,7 +146,7 @@
"heartwood": {
"inputs": {
"advisory-db": "advisory-db",
"crane": "crane",
"crane": "crane_2",
"flake-utils": "flake-utils_2",
"git-hooks": "git-hooks",
"nixpkgs": [
@@ -207,6 +222,7 @@
},
"root": {
"inputs": {
"crane": "crane",
"flake-utils": "flake-utils",
"heartwood": "heartwood",
"nixpkgs": "nixpkgs",