about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2010-08-03 14:02:42 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2010-08-03 14:02:42 +0000
commit3c4d5457a8f5579a621f7599deee99a66089256b (patch)
treed3d16c83fc42ef10a2e8621f79c68c9b63c1a111 /pkgs
parent75bc6a2f78449af6f9746ef456fe18c0b69a30bc (diff)
downloadnixlib-3c4d5457a8f5579a621f7599deee99a66089256b.tar
nixlib-3c4d5457a8f5579a621f7599deee99a66089256b.tar.gz
nixlib-3c4d5457a8f5579a621f7599deee99a66089256b.tar.bz2
nixlib-3c4d5457a8f5579a621f7599deee99a66089256b.tar.lz
nixlib-3c4d5457a8f5579a621f7599deee99a66089256b.tar.xz
nixlib-3c4d5457a8f5579a621f7599deee99a66089256b.tar.zst
nixlib-3c4d5457a8f5579a621f7599deee99a66089256b.zip
Add recurseForRelease flag
I don't want kde-4.5 to be visible for nix-env, but I want hydra to build it

svn path=/nixpkgs/trunk/; revision=22930
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/desktops/kde-4.5/default.nix1
-rw-r--r--pkgs/top-level/release-lib.nix4
2 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/desktops/kde-4.5/default.nix b/pkgs/desktops/kde-4.5/default.nix
index 23bb40dd3cf3..3b991cb2ef7e 100644
--- a/pkgs/desktops/kde-4.5/default.nix
+++ b/pkgs/desktops/kde-4.5/default.nix
@@ -1,6 +1,7 @@
 callPackage :
 
 {
+  recurseForRelease = true;
 
 ### SUPPORT
   akonadi = callPackage ./support/akonadi { };
diff --git a/pkgs/top-level/release-lib.nix b/pkgs/top-level/release-lib.nix
index ffee50b4e496..a470098529f5 100644
--- a/pkgs/top-level/release-lib.nix
+++ b/pkgs/top-level/release-lib.nix
@@ -104,7 +104,9 @@ rec {
     
   # May fail as much as it wishes, we will catch the error.
   processPackage = attrSet: 
-    if attrSet ? recurseForDerivations && attrSet.recurseForDerivations then 
+    if attrSet ? recurseForDerivations && attrSet.recurseForDerivations then
+      packagesWithMetaPlatform attrSet
+    else if attrSet ? recurseForRelease && attrSet.recurseForRelease then
       packagesWithMetaPlatform attrSet
     else
       if attrSet ? meta && attrSet.meta ? platforms