From 49220563dffdc26fe765c2e971840d7fa2ff8cfa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 24 Aug 2005 09:21:37 +0000 Subject: [PATCH] * Purity fixes, courtesy of NixOS :-) svn path=/nixpkgs/trunk/; revision=3675 --- pkgs/stdenv/linux/scripts/builder-stdenv-initial.sh | 2 +- pkgs/stdenv/linux/scripts/fix-outpath.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/stdenv/linux/scripts/builder-stdenv-initial.sh b/pkgs/stdenv/linux/scripts/builder-stdenv-initial.sh index f2867b3cbb5..87de17817fd 100644 --- a/pkgs/stdenv/linux/scripts/builder-stdenv-initial.sh +++ b/pkgs/stdenv/linux/scripts/builder-stdenv-initial.sh @@ -1,6 +1,6 @@ set -e -PATH=$coreutils/bin +PATH=$staticTools/bin mkdir $out diff --git a/pkgs/stdenv/linux/scripts/fix-outpath.sh b/pkgs/stdenv/linux/scripts/fix-outpath.sh index be0df6b0779..e6dc1139bb5 100644 --- a/pkgs/stdenv/linux/scripts/fix-outpath.sh +++ b/pkgs/stdenv/linux/scripts/fix-outpath.sh @@ -3,7 +3,7 @@ cd $out chmod -R +w . find . -type f | while read fn; do - $extra2/bin/cat $fn | $extra4/bin/sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp + cat $fn | sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp if test -x $fn; then chmod +x $fn.tmp; fi mv $fn.tmp $fn done