build-support/rust/sysroot/src: Use dont* instead of phase list

Making this separate commit because the original was moved out just the
way it was done before.
This commit is contained in:
John Ericson 2021-11-08 21:38:58 +00:00
parent c9c3de0131
commit 05efb8ed91

View File

@ -5,7 +5,11 @@
stdenv.mkDerivation {
name = "cargo-src";
preferLocalBuild = true;
phases = [ "installPhase" ];
unpackPhase = "true";
dontConfigure = true;
dontBuild = true;
installPhase = ''
export RUSTC_SRC=${rustPlatform.rustLibSrc.override { }}
''