* Switching to the new stdenv-linux.
svn path=/nixpkgs/trunk/; revision=6828
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
set -e
|
||||
|
||||
PATH=$staticTools/bin
|
||||
|
||||
mkdir $out
|
||||
|
||||
cat > $out/setup <<EOF
|
||||
PATH=$staticTools/bin
|
||||
EOF
|
||||
@@ -1,3 +0,0 @@
|
||||
set -e
|
||||
echo "downloading $out from $url"
|
||||
$curl/bin/curl --fail --location --max-redirs 20 "$url" > "$out"
|
||||
@@ -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
|
||||
@@ -1,8 +0,0 @@
|
||||
set -x
|
||||
set -e
|
||||
|
||||
echo $curl
|
||||
|
||||
$bunzip2 -d < $curl | $tar xvf -
|
||||
|
||||
$cp -prvd * $out
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user