flake.nix: add `rust-src` to rust toolchain for devshell
This commit is contained in:
parent
e993644844
commit
a4067975b6
|
@ -27,7 +27,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
rust-bin = rust-overlay.lib.mkRustBin { } pkgs.buildPackages;
|
rust-bin = rust-overlay.lib.mkRustBin { } pkgs.buildPackages;
|
||||||
toolchain = rust-bin.stable.latest.default;
|
toolchain = rust-bin.stable.latest.default.override {
|
||||||
|
extensions = [ "rust-src" ];
|
||||||
|
};
|
||||||
in f system pkgs toolchain);
|
in f system pkgs toolchain);
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue