summary refs log tree commit diff
path: root/pkgs/stdenv/generic
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-06-19 09:00:14 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-07-01 01:52:54 -0400
commit0197c05786be1ce37c694abb3f9f150bfbf818a5 (patch)
tree741832b04129902589d0c8bc299f0fe376ef54b1 /pkgs/stdenv/generic
parent0daecd2d7ae7f98e331c38f520b827e671ac1f74 (diff)
downloadnixpkgs-0197c05786be1ce37c694abb3f9f150bfbf818a5.tar
nixpkgs-0197c05786be1ce37c694abb3f9f150bfbf818a5.tar.gz
nixpkgs-0197c05786be1ce37c694abb3f9f150bfbf818a5.tar.bz2
nixpkgs-0197c05786be1ce37c694abb3f9f150bfbf818a5.tar.lz
nixpkgs-0197c05786be1ce37c694abb3f9f150bfbf818a5.tar.xz
nixpkgs-0197c05786be1ce37c694abb3f9f150bfbf818a5.tar.zst
nixpkgs-0197c05786be1ce37c694abb3f9f150bfbf818a5.zip
setup.sh: add dontConfigure
There's already 21 occurences of this and I've
expected this to exist without knowing it had no affect for a while.
Diffstat (limited to 'pkgs/stdenv/generic')
-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 dcccdaa50ae..38453aa61bb 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" = configurePhase && -n "${dontConfigure:-}" ]]; then continue; fi
         if [[ "$curPhase" = buildPhase && -n "${dontBuild:-}" ]]; then continue; fi
         if [[ "$curPhase" = checkPhase && -z "${doCheck:-}" ]]; then continue; fi
         if [[ "$curPhase" = installPhase && -n "${dontInstall:-}" ]]; then continue; fi