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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user