From d5bb11ed0617d9fb2fcbf398cdbaf611814bf2cf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 26 May 2008 13:28:11 +0000 Subject: [PATCH] * noNoBDB attribute for building the unstable Nix no-bdb branch. svn path=/nixpkgs/trunk/; revision=11896 --- pkgs/top-level/all-packages.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 441df72f93a2..956fcf74632d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1497,20 +1497,17 @@ let pkgs = rec { ghc = ghc68; ghc68 = import ../development/compilers/ghc-6.8 { - inherit fetchurl stdenv readline perl gmp ncurses; - m4 = gnum4; + inherit fetchurl stdenv readline perl gmp ncurses m4; ghc = ghcboot; }; ghc661 = import ../development/compilers/ghc-6.6.1 { - inherit fetchurl stdenv readline perl58 gmp ncurses; - m4 = gnum4; + inherit fetchurl stdenv readline perl58 gmp ncurses m4; ghc = ghcboot; }; ghc66 = import ../development/compilers/ghc-6.6 { - inherit fetchurl stdenv readline perl gmp ncurses; - m4 = gnum4; + inherit fetchurl stdenv readline perl gmp ncurses m4; ghc = ghcboot; }; @@ -6468,6 +6465,14 @@ let pkgs = rec { db4 = db45; }; + # The really bleeding edge. + nixNoBDB = lowPrio (nixCustomFun + (fetchurl { + url = http://nixos.org/releases/nix-no-bdb/nix-0.12pre11675-jvhinhlm/nix-0.12pre11675.tar.bz2; + sha256 = "1c20dd159f0f7ffb7105745426b64097f833b265604e14ff77f94da2d145d44b"; + }) + "" [] ""); + nixCustomFun = src: preConfigure: enableScripts: configureFlags: import ../tools/package-management/nix/custom.nix { inherit fetchurl stdenv perl curl bzip2 openssl src preConfigure automake