nix: include rust-src

This commit is contained in:
Zynh Ludwig 2024-09-25 05:26:03 -07:00
parent 01cc435dd4
commit 6f684187cc

View file

@ -27,9 +27,13 @@
(pkgs: { (pkgs: {
default = import ./shell.nix { default = import ./shell.nix {
inherit pkgs; inherit pkgs;
additionalBuildInputs = [ additionalBuildInputs =
(pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default)) let latestNightlyWith = pkgs.rust-bin.selectLatestNightlyWith;
]; in [
(latestNightlyWith (toolchain: toolchain.default.override {
extensions = [ "rust-src" ];
}))
];
}; };
}); });
}; };