diff options
author | Marc Weber <marco-oweber@gmx.de> | 2007-08-20 13:39:59 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2007-08-20 13:39:59 +0000 |
commit | f1cf8d1d7ae9af0d74bfdb6f50e5727300973918 (patch) | |
tree | 6559e5b4b3f790028274acfe7caea85287ef2874 /pkgs | |
parent | b5db5e6e616e7616edd82455b8597c9e3eba0723 (diff) | |
download | nixpkgs-f1cf8d1d7ae9af0d74bfdb6f50e5727300973918.tar nixpkgs-f1cf8d1d7ae9af0d74bfdb6f50e5727300973918.tar.gz nixpkgs-f1cf8d1d7ae9af0d74bfdb6f50e5727300973918.tar.bz2 nixpkgs-f1cf8d1d7ae9af0d74bfdb6f50e5727300973918.tar.lz nixpkgs-f1cf8d1d7ae9af0d74bfdb6f50e5727300973918.tar.xz nixpkgs-f1cf8d1d7ae9af0d74bfdb6f50e5727300973918.tar.zst nixpkgs-f1cf8d1d7ae9af0d74bfdb6f50e5727300973918.zip |
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
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/stdenv/generic/setup-new-2.sh | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/pkgs/stdenv/generic/setup-new-2.sh b/pkgs/stdenv/generic/setup-new-2.sh index de635aee95b..969745f3268 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 |