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:
parent
c9c3de0131
commit
05efb8ed91
1 changed files with 5 additions and 1 deletions
|
@ -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 { }}
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue