* Switching to the new stdenv-linux.

svn path=/nixpkgs/trunk/; revision=6828
This commit is contained in:
Eelco Dolstra
2006-10-24 20:57:06 +00:00
parent 60a9aa66bf
commit 18d730980c
14 changed files with 51 additions and 333 deletions

View File

@@ -1,9 +0,0 @@
set -e
PATH=$staticTools/bin
mkdir $out
cat > $out/setup <<EOF
PATH=$staticTools/bin
EOF

View File

@@ -1,3 +0,0 @@
set -e
echo "downloading $out from $url"
$curl/bin/curl --fail --location --max-redirs 20 "$url" > "$out"

View File

@@ -1,9 +0,0 @@
cd $out
chmod -R +w .
find . -type f | while read fn; do
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

View File

@@ -1,8 +0,0 @@
set -x
set -e
echo $curl
$bunzip2 -d < $curl | $tar xvf -
$cp -prvd * $out

View File

@@ -1,14 +0,0 @@
set -e
$bunzip2 -d < $tarball | $tar xvf -
$cp -prd * $out
if test -n "$postProcess"; then
for i in $addToPath; do
export PATH=$PATH:$i/bin
done
for i in $postProcess; do
source $i
done
fi