forked from mirrors/nixpkgs
srcOnly: prevent phases being skipped
Previously srcOnly would not work for e.g. `srcOnly haskell.compiler.ghcjs`, as the custom `installPhase` would be skipped if `dontInstall` is set. Consequently, we need to ensure that the two skippable phases we need will always be executed.
This commit is contained in:
parent
b3818a46e6
commit
c98cda29f7
|
@ -17,5 +17,7 @@ stdenv.mkDerivation (args // {
|
|||
installPhase = "cp -r . $out";
|
||||
outputs = [ "out" ];
|
||||
separateDebugInfo = false;
|
||||
dontUnpack = false;
|
||||
dontInstall = false;
|
||||
phases = ["unpackPhase" "patchPhase" "installPhase"];
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue