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
This commit is contained in:
Yury G. Kudryashov 2010-08-03 14:02:42 +00:00
parent 75bc6a2f78
commit 3c4d5457a8
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
callPackage :
{
recurseForRelease = true;
### SUPPORT
akonadi = callPackage ./support/akonadi { };

View File

@ -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