From e002f96a56fd2a3dcf5aa509002e5f6a5a007428 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 11 Dec 2006 15:46:54 +0000 Subject: [PATCH] * TMI. svn path=/nixpkgs/trunk/; revision=7315 --- pkgs/stdenv/generic/setup-new2.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/stdenv/generic/setup-new2.sh b/pkgs/stdenv/generic/setup-new2.sh index 3f8577d2d75f..6e5993e90dc4 100644 --- a/pkgs/stdenv/generic/setup-new2.sh +++ b/pkgs/stdenv/generic/setup-new2.sh @@ -230,7 +230,9 @@ substituteAll() { # Select all environment variables that start with a lowercase character. for envVar in $(env | sed "s/^[^a-z].*//" | sed "s/^\([^=]*\)=.*/\1/"); do - echo "$envVar -> ${!envVar}" + if test "$NIX_DEBUG" = "1"; then + echo "$envVar -> ${!envVar}" + fi args="$args --subst-var $envVar" done