lol

stdenv: drop remove unnecessary env var

and the associated obsolete functions

support for log nesting was removed in 2017 https://github.com/nixos/nixpkgs/commit/6669a3b47711dc967df0ea8ff93fa9857aad015d

Artturin 856f3a46 4e880e72

+11 -31
-3
pkgs/development/tools/misc/automake/automake-1.11.x.nix
··· 22 22 nativeBuildInputs = [ perl autoconf ]; 23 23 buildInputs = [ autoconf ]; 24 24 25 - # Disable indented log output from Make, otherwise "make.test" will 26 - # fail. 27 - preCheck = "unset NIX_INDENT_MAKE"; 28 25 doCheck = false; # takes _a lot_ of time, fails 11 of 782 tests 29 26 30 27 # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
-3
pkgs/development/tools/misc/automake/automake-1.15.x.nix
··· 16 16 17 17 patches = [ ./help2man-SOURCE_DATE_EPOCH-support.patch ]; 18 18 19 - # Disable indented log output from Make, otherwise "make.test" will 20 - # fail. 21 - preCheck = "unset NIX_INDENT_MAKE"; 22 19 doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths 23 20 doInstallCheck = false; # runs the same thing, fails the same tests 24 21
-3
pkgs/development/tools/misc/automake/automake-1.16.x.nix
··· 15 15 16 16 setupHook = ./setup-hook.sh; 17 17 18 - # Disable indented log output from Make, otherwise "make.test" will 19 - # fail. 20 - preCheck = "unset NIX_INDENT_MAKE"; 21 18 doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths 22 19 doInstallCheck = false; # runs the same thing, fails the same tests 23 20
+11 -20
pkgs/stdenv/generic/setup.sh
··· 125 125 ###################################################################### 126 126 # Logging. 127 127 128 - # Obsolete. 129 - stopNest() { true; } 130 - header() { echo "$1"; } 131 - closeNest() { true; } 132 - 133 128 # Prints a command such that all word splits are unambiguous. We need 134 129 # to split the command in three parts because the middle format string 135 130 # will be, and must be, repeated for each argument. The first argument ··· 798 793 unset _XDG_DATA_DIRS 799 794 800 795 801 - # Make GNU Make produce nested output. 802 - export NIX_INDENT_MAKE=1 803 - 804 - 805 796 # Normalize the NIX_BUILD_CORES variable. The value might be 0, which 806 797 # means that we're supposed to try and auto-detect the number of 807 798 # available CPU cores at run-time. ··· 1033 1024 1034 1025 unpackFile() { 1035 1026 curSrc="$1" 1036 - header "unpacking source archive $curSrc" 3 1027 + echo "unpacking source archive $curSrc" 1037 1028 if ! runOneHook unpackCmd "$curSrc"; then 1038 1029 echo "do not know how to unpack source archive $curSrc" 1039 1030 exit 1 ··· 1130 1121 fi 1131 1122 1132 1123 for i in "${patchesArray[@]}"; do 1133 - header "applying patch $i" 3 1124 + echo "applying patch $i" 1134 1125 local uncompress=cat 1135 1126 case "$i" in 1136 1127 *.gz) ··· 1494 1485 showPhaseHeader() { 1495 1486 local phase="$1" 1496 1487 case "$phase" in 1497 - unpackPhase) header "unpacking sources";; 1498 - patchPhase) header "patching sources";; 1499 - configurePhase) header "configuring";; 1500 - buildPhase) header "building";; 1501 - checkPhase) header "running tests";; 1502 - installPhase) header "installing";; 1503 - fixupPhase) header "post-installation fixup";; 1504 - installCheckPhase) header "running install tests";; 1505 - *) header "$phase";; 1488 + unpackPhase) echo "unpacking sources";; 1489 + patchPhase) echo "patching sources";; 1490 + configurePhase) echo "configuring";; 1491 + buildPhase) echo "building";; 1492 + checkPhase) echo "running tests";; 1493 + installPhase) echo "installing";; 1494 + fixupPhase) echo "post-installation fixup";; 1495 + installCheckPhase) echo "running install tests";; 1496 + *) echo "$phase";; 1506 1497 esac 1507 1498 } 1508 1499
-2
pkgs/tools/package-management/nix/nix-perl.nix
··· 40 40 ]; 41 41 42 42 preConfigure = "export NIX_STATE_DIR=$TMPDIR"; 43 - 44 - preBuild = "unset NIX_INDENT_MAKE"; 45 43 }