From c98cda29f787ec5073890255800d18d6bb1077b6 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 6 Jan 2023 15:29:03 +0100 Subject: [PATCH] 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. --- pkgs/build-support/src-only/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/build-support/src-only/default.nix b/pkgs/build-support/src-only/default.nix index 520753e37460..6cf5c2ad482b 100644 --- a/pkgs/build-support/src-only/default.nix +++ b/pkgs/build-support/src-only/default.nix @@ -17,5 +17,7 @@ stdenv.mkDerivation (args // { installPhase = "cp -r . $out"; outputs = [ "out" ]; separateDebugInfo = false; + dontUnpack = false; + dontInstall = false; phases = ["unpackPhase" "patchPhase" "installPhase"]; })