From 0197c05786be1ce37c694abb3f9f150bfbf818a5 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Wed, 19 Jun 2019 09:00:14 -0400 Subject: 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. --- pkgs/stdenv/generic/setup.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/stdenv/generic') 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 -- cgit 1.4.1