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: {
|
||||
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