nix: include rust-src
This commit is contained in:
parent
01cc435dd4
commit
6f684187cc
1 changed files with 7 additions and 3 deletions
|
@ -27,8 +27,12 @@
|
||||||
(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" ];
|
||||||
|
}))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue