From 94672236c6939e890ed678f5e29d19cbc9643f59 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Mon, 26 May 2008 14:01:11 +0000
Subject: [PATCH] svn path=/nixpkgs/trunk/; revision=11899

---
 pkgs/tools/package-management/nix/custom.nix | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/pkgs/tools/package-management/nix/custom.nix b/pkgs/tools/package-management/nix/custom.nix
index fdbfb2d7bec0..b2d709d7e102 100644
--- a/pkgs/tools/package-management/nix/custom.nix
+++ b/pkgs/tools/package-management/nix/custom.nix
@@ -33,16 +33,20 @@ stdenv.mkDerivation {
   ;
 
   preConfigure = 
-  (lib.concatMapStrings (script: ''sed -e '/bin_SCRIPTS/a${script} \\' -i scripts/Makefile.am
-  '') enableScripts)
-  + preConfigure
-  + "\n./bootstrap.sh"
-  ;
+    (lib.concatMapStrings (script:
+      ''
+        sed -e '/bin_SCRIPTS/a${script} \\' -i scripts/Makefile.am
+      ''
+    ) enableScripts)
+    + preConfigure
+    + "\n./bootstrap.sh";
 
-  configureFlags = ["
+  configureFlags = ''
     --with-store-dir=${storeDir} --localstatedir=${stateDir}
     --with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2}
-    --disable-init-state"] ++ configureFlags ;
+    --disable-init-state
+    ${configureFlags}
+  '';
 
   meta = {
     description = "The Nix Deployment System";