fix(nix): only include the "rust-src" extention in the shell.nix

This commit is contained in:
isabel 2024-08-01 08:38:32 +01:00
parent feec48b752
commit 8300ddb9ca
No known key found for this signature in database
GPG key ID: 5A87C993E20D89A1
2 changed files with 2 additions and 1 deletions

View file

@ -39,7 +39,7 @@
(
final: prev:
let
toolchain = final.rust-bin.stable.latest.default.override { extensions = [ "rust-src" ]; };
toolchain = final.rust-bin.stable.latest.default;
in
{
rustPlatform = prev.makeRustPlatform {

View file

@ -10,6 +10,7 @@ mainPkg.overrideAttrs (oa: {
nativeBuildInputs = [
(rust-bin.stable.latest.default.override {
extensions = [
"rust-src"
"rustfmt"
"rust-analyzer"
"clippy"