From f1cf8d1d7ae9af0d74bfdb6f50e5727300973918 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Mon, 20 Aug 2007 13:39:59 +0000 Subject: [PATCH] adding purityPhase hasen't been such a good idea - untested and if a small thing changes everything has to be rebuilt.. svn path=/nixpkgs/trunk/; revision=9174 --- pkgs/stdenv/generic/setup-new-2.sh | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/pkgs/stdenv/generic/setup-new-2.sh b/pkgs/stdenv/generic/setup-new-2.sh index de635aee95bc..969745f32689 100644 --- a/pkgs/stdenv/generic/setup-new-2.sh +++ b/pkgs/stdenv/generic/setup-new-2.sh @@ -525,23 +525,6 @@ patchW() { done } -purifyPhase() { - # copied and modified from acroread and ghcboot - # to be called in postUnpack - - fullPath= - for i in \$buildInputs; do - fullPath=\$fullPath\${fullPath:+:}\$i/lib - done - - dirs=${dirsToPurify:-.} - for dir in $dirs; do - find $dir -type f -perm +100 \\ - -exec patchelf --interpreter \"\$(cat \$NIX_GCC/nix-support/dynamic-linker)\" \\ - --set-rpath \$fullPath {}; - done -} - patchPhase() { if test -z "$patchPhase" -a -z "$patches"; then return; fi @@ -854,7 +837,7 @@ genericBuild() { fi if test -z "$phases"; then - phases="patchPhase configurePhase buildPhase checkPhase \ + phases="unpackPhase patchPhase configurePhase buildPhase checkPhase \ installPhase fixupPhase distPhase"; fi