diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-10-11 15:31:52 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-10-11 15:31:52 +0000 |
commit | 7d16a56b6f08bf73fb10385a3bfd25a4e9cd2970 (patch) | |
tree | b3c67c9ddc6f77c88bec7fbd8b8bdf3134f54055 /pkgs/misc/nix-unstable/nix-0.10pre5679.patch | |
parent | 64bb1e38df693bcb3ecdd7ea746b438838ab0429 (diff) | |
download | nixlib-7d16a56b6f08bf73fb10385a3bfd25a4e9cd2970.tar nixlib-7d16a56b6f08bf73fb10385a3bfd25a4e9cd2970.tar.gz nixlib-7d16a56b6f08bf73fb10385a3bfd25a4e9cd2970.tar.bz2 nixlib-7d16a56b6f08bf73fb10385a3bfd25a4e9cd2970.tar.lz nixlib-7d16a56b6f08bf73fb10385a3bfd25a4e9cd2970.tar.xz nixlib-7d16a56b6f08bf73fb10385a3bfd25a4e9cd2970.tar.zst nixlib-7d16a56b6f08bf73fb10385a3bfd25a4e9cd2970.zip |
* Nix: no longer need a builder, use an external bzip2, removed
nix-unstable. svn path=/nixpkgs/trunk/; revision=6702
Diffstat (limited to 'pkgs/misc/nix-unstable/nix-0.10pre5679.patch')
-rw-r--r-- | pkgs/misc/nix-unstable/nix-0.10pre5679.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/pkgs/misc/nix-unstable/nix-0.10pre5679.patch b/pkgs/misc/nix-unstable/nix-0.10pre5679.patch deleted file mode 100644 index 4d72c1989416..000000000000 --- a/pkgs/misc/nix-unstable/nix-0.10pre5679.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -ruN nix-0.10pre5679/scripts/nix-prefetch-url.in nix-0.10pre5679.new/scripts/nix-prefetch-url.in ---- nix-0.10pre5679/scripts/nix-prefetch-url.in 2006-07-11 13:24:20.000000000 +0200 -+++ nix-0.10pre5679.new/scripts/nix-prefetch-url.in 2006-08-01 11:54:02.000000000 +0200 -@@ -39,10 +39,10 @@ - - tmpPath=/tmp/nix-prefetch-url-$$ # !!! security? - tmpFile=$tmpPath/$name -- mkdir $tmpPath -+ mkdir -p $NIX_ROOT/$tmpPath - - # Perform the download. -- @curl@ --fail --location --max-redirs 20 "$url" > $tmpFile -+ @curl@ --fail --location --max-redirs 20 "$url" > $NIX_ROOT/$tmpFile - - # Compute the hash. - hash=$(@bindir@/nix-hash --type "$hashType" $hashFormat --flat $tmpFile) -@@ -51,7 +51,7 @@ - # Add the downloaded file to the Nix store. - finalPath=$(@bindir@/nix-store --add-fixed "$hashType" $tmpFile) - -- if test -n "$tmpPath"; then rm -rf $tmpPath || true; fi -+ if test -n "$NIX_ROOT/$tmpPath"; then rm -rf $NIX_ROOT/$tmpPath || true; fi - - if test -n "$expHash" -a "$expHash" != "$hash"; then - echo "hash mismatch for URL \`$url'" |