summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-06-19 11:37:51 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-07-01 04:23:51 -0400
commit4a88f4ebfcfb7bf8c5df473e5a77f64d9c93b91e (patch)
tree2156403b623169f6dfddaf77edeccba20e1fae96 /pkgs/stdenv
parentcab7c6cbd964a99db55ba55960c8ddbaf294bc67 (diff)
downloadnixpkgs-4a88f4ebfcfb7bf8c5df473e5a77f64d9c93b91e.tar
nixpkgs-4a88f4ebfcfb7bf8c5df473e5a77f64d9c93b91e.tar.gz
nixpkgs-4a88f4ebfcfb7bf8c5df473e5a77f64d9c93b91e.tar.bz2
nixpkgs-4a88f4ebfcfb7bf8c5df473e5a77f64d9c93b91e.tar.lz
nixpkgs-4a88f4ebfcfb7bf8c5df473e5a77f64d9c93b91e.tar.xz
nixpkgs-4a88f4ebfcfb7bf8c5df473e5a77f64d9c93b91e.tar.zst
nixpkgs-4a88f4ebfcfb7bf8c5df473e5a77f64d9c93b91e.zip
setup.sh: add dontUnpack
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/generic/setup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh
index 38453aa61bb..ebcedce60b8 100644
--- a/pkgs/stdenv/generic/setup.sh
+++ b/pkgs/stdenv/generic/setup.sh
@@ -1283,6 +1283,7 @@ genericBuild() {
     fi
 
     for curPhase in $phases; do
+        if [[ "$curPhase" = unpackPhase && -n "${dontUnpack:-}" ]]; then continue; fi
         if [[ "$curPhase" = configurePhase && -n "${dontConfigure:-}" ]]; then continue; fi
         if [[ "$curPhase" = buildPhase && -n "${dontBuild:-}" ]]; then continue; fi
         if [[ "$curPhase" = checkPhase && -z "${doCheck:-}" ]]; then continue; fi