forked from mirrors/nixpkgs
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:
parent
75bc6a2f78
commit
3c4d5457a8
|
@ -1,6 +1,7 @@
|
|||
callPackage :
|
||||
|
||||
{
|
||||
recurseForRelease = true;
|
||||
|
||||
### SUPPORT
|
||||
akonadi = callPackage ./support/akonadi { };
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue