chore: upgrade rust in nix flake

This commit is contained in:
Orbital 2026-03-24 18:47:55 -05:00
parent 971d192764
commit b2b1500d9f
No known key found for this signature in database
GPG key ID: ADBE3D2B7E8E666F
2 changed files with 6 additions and 6 deletions

6
flake.lock generated
View file

@ -113,11 +113,11 @@
]
},
"locked": {
"lastModified": 1744684506,
"narHash": "sha256-pDPDMT1rdkTWi8MIoZ67gT3L817R7P0Jo+PP+BrnyJI=",
"lastModified": 1774321696,
"narHash": "sha256-g18xMjMNla/nsF5XyQCNyWmtb2UlZpkY0XE8KinIXAA=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "47beae969336c05e892e1e4a9dbaac9593de34ab",
"rev": "49a67e6894d4cb782842ee6faa466aa90c92812d",
"type": "github"
},
"original": {

View file

@ -8,9 +8,9 @@
let
inherit (pkgs) lib stdenv;
src = ../../.;
rustToolchainFile = builtins.fromTOML (builtins.readFile ../../rust-toolchain.toml);
rustChannel = rustToolchainFile.toolchain.channel;
craneLib = (crane.mkLib pkgs).overrideToolchain (pkgs.rust-bin.stable.${rustChannel}.default);
craneLib = (crane.mkLib pkgs).overrideToolchain (
pkgs.rust-bin.fromRustupToolchainFile ../../rust-toolchain.toml
);
commonDeps = {
nativeBuildInputs = with pkgs; [
pkg-config