diff options
author | Aaron Janse <aaron@ajanse.me> | 2020-10-15 17:27:51 -0700 |
---|---|---|
committer | Aaron Janse <aaron@ajanse.me> | 2020-10-15 17:27:51 -0700 |
commit | d906fda8d2b467e16d1b41842bf3b63aee3da449 (patch) | |
tree | bd0fc58d8d2cf027e32c77131deabd324b90ba54 /pkgs/build-support/rust | |
parent | a153be896f275e5f394c55bdbbd267356d49f7b2 (diff) |
parameterize rustcSrc
Diffstat (limited to 'pkgs/build-support/rust')
-rw-r--r-- | pkgs/build-support/rust/sysroot/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/rust/sysroot/default.nix b/pkgs/build-support/rust/sysroot/default.nix index de82f2bf30af..c32b6577e35c 100644 --- a/pkgs/build-support/rust/sysroot/default.nix +++ b/pkgs/build-support/rust/sysroot/default.nix @@ -8,7 +8,7 @@ let preferLocalBuild = true; phases = [ "installPhase" ]; installPhase = '' - RUSTC_SRC=${rustPlatform.rustcSrc} ORIG_CARGO=${originalCargoToml} \ + RUSTC_SRC=${rustPlatform.rustcSrc.override { minimalContent = false; }} ORIG_CARGO=${originalCargoToml} \ ${buildPackages.python3.withPackages (ps: with ps; [ toml ])}/bin/python3 ${./cargo.py} mkdir -p $out cp Cargo.toml $out/Cargo.toml |