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: {
default = import ./shell.nix {
inherit pkgs;
additionalBuildInputs = [
(pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default))
];
additionalBuildInputs =
let latestNightlyWith = pkgs.rust-bin.selectLatestNightlyWith;
in [
(latestNightlyWith (toolchain: toolchain.default.override {
extensions = [ "rust-src" ];
}))
];
};
});
};