mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
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
@ -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 New Issue
Block a user