flake.nix: add `rust-src` to rust toolchain for devshell

This commit is contained in:
Oystein Kristoffer Tveit 2024-08-19 19:34:55 +02:00
parent e993644844
commit a4067975b6
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@
};
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 {