summary refs log tree commit diff
path: root/pkgs/misc/nix-unstable
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/nix-unstable')
-rw-r--r--pkgs/misc/nix-unstable/builder.sh8
-rw-r--r--pkgs/misc/nix-unstable/default.nix23
-rw-r--r--pkgs/misc/nix-unstable/nix-0.10pre5679.patch25
3 files changed, 0 insertions, 56 deletions
diff --git a/pkgs/misc/nix-unstable/builder.sh b/pkgs/misc/nix-unstable/builder.sh
deleted file mode 100644
index 0decd4f50c38..000000000000
--- a/pkgs/misc/nix-unstable/builder.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-source $stdenv/setup
-
-configureFlags="\
-  --with-store-dir=$storeDir --localstatedir=$stateDir \
-  --with-aterm=$aterm --with-bdb=$bdb \
-  --disable-init-state"
-
-genericBuild
diff --git a/pkgs/misc/nix-unstable/default.nix b/pkgs/misc/nix-unstable/default.nix
deleted file mode 100644
index 42470a8d3bc4..000000000000
--- a/pkgs/misc/nix-unstable/default.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ stdenv, fetchurl, aterm, bdb, perl, curl
-, storeDir ? "/nix/store"
-, stateDir ? "/nix/var"
-}:
-
-assert aterm != null && bdb != null && perl != null;
-# assert bdb.version >= 4.2
-# assert aterm.version >= 2.0
-
-stdenv.mkDerivation {
-  name = "nix-0.10pre6619";
-  builder = ./builder.sh;
-  src = fetchurl {
-    url = http://nix.cs.uu.nl/dist/nix/nix-0.10pre6619/nix-0.10pre6619.tar.bz2;
-    md5 = "551a2ab48b87c0e7d95adc69a8f57e4e";
-  };
-  buildInputs = [aterm bdb perl curl];
-  inherit storeDir stateDir aterm bdb;
-
-  # uncomment if you want to be able to use nix-prefetch-url when NIX_ROOT
-  # is set. Not needed to build or install NixOS.
-  #patches = [./nix-0.10pre5679.patch];
-}
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'"