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