about summary refs log tree commit diff
path: root/pkgs/build-support/src-only
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-01-06 15:29:03 +0100
committersternenseemann <sternenseemann@systemli.org>2023-01-06 19:02:50 +0100
commitc98cda29f787ec5073890255800d18d6bb1077b6 (patch)
tree8851c8c00c32c7bc9036646201df2405cb5eaec9 /pkgs/build-support/src-only
parentb3818a46e686f24561a28eaa9fcf35e18b8d8e89 (diff)
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.
Diffstat (limited to 'pkgs/build-support/src-only')
-rw-r--r--pkgs/build-support/src-only/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/src-only/default.nix b/pkgs/build-support/src-only/default.nix
index 520753e37460c..6cf5c2ad482b8 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"];
 })