3
0
Fork 0
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:
sternenseemann 2023-01-06 15:29:03 +01:00
parent b3818a46e6
commit c98cda29f7

View file

@ -17,5 +17,7 @@ stdenv.mkDerivation (args // {
installPhase = "cp -r . $out";
outputs = [ "out" ];
separateDebugInfo = false;
dontUnpack = false;
dontInstall = false;
phases = ["unpackPhase" "patchPhase" "installPhase"];
})