about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2012-02-25 20:18:00 +0000
committerShea Levy <shea@shealevy.com>2012-02-25 20:18:00 +0000
commitb4bee8caf5a282cae972c5b25eea05b00fb31253 (patch)
tree0b77f70902ab23aa4167c90f78a268bb2e7223a7 /pkgs/tools
parent385f242a400749b3923d51fff5a86403e6dab0dc (diff)
nixUnstable: Run checkPhase after installPhase to work around a test suite bug
svn path=/nixpkgs/trunk/; revision=32567
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/package-management/nix/unstable.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/package-management/nix/unstable.nix b/pkgs/tools/package-management/nix/unstable.nix
index 175ae0693820d..7ad69e8353a9d 100644
--- a/pkgs/tools/package-management/nix/unstable.nix
+++ b/pkgs/tools/package-management/nix/unstable.nix
@@ -4,7 +4,7 @@
 , stateDir ? "/nix/var"
 }:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (rec {
   name = "nix-1.0pre31851";
 
   src = fetchurl {
@@ -51,4 +51,6 @@ stdenv.mkDerivation rec {
     homepage = http://nixos.org/;
     license = "LGPLv2+";
   };
-}
+} // stdenv.lib.optionalAttrs stdenv.isDarwin {
+      phases = "$prePhases unpackPhase patchPhase $preConfigurePhases configurePhase $preBuildPhases buildPhase $preInstallPhases installPhase checkPhase fixupPhase $preDistPhases distPhase $postPhases";
+})