fix cargo and flake stuff

This commit is contained in:
cy 2025-04-01 14:33:40 -04:00
parent 6fc3b1c0bc
commit 0612ea6530
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
3 changed files with 4 additions and 51 deletions

View file

@ -20,7 +20,8 @@
(import inputs.rust-overlay)
];
};
craneLib = (crane.mkLib pkgs).overrideToolchain(p: p.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml);
toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
craneLib = (crane.mkLib pkgs).overrideToolchain(_: toolchain);
in
{
devShells.default = pkgs.mkShell {
@ -29,6 +30,7 @@
];
buildInputs = with pkgs; [
openssl
toolchain
];
};