Merge pull request #19990 from domenkozar/buildtheworld

Build all derivations on Linux, unless specified otherwise
This commit is contained in:
Domen Kožar 2016-11-29 13:17:13 +01:00 committed by GitHub
commit 8b782f4bd4

View File

@ -85,7 +85,7 @@ rec {
packagePlatforms = mapAttrs (name: value: packagePlatforms = mapAttrs (name: value:
let res = builtins.tryEval ( let res = builtins.tryEval (
if isDerivation value then if isDerivation value then
value.meta.hydraPlatforms or (value.meta.platforms or []) value.meta.hydraPlatforms or (value.meta.platforms or [ "x86_64-linux" ])
else if value.recurseForDerivations or false || value.recurseForRelease or false then else if value.recurseForDerivations or false || value.recurseForRelease or false then
packagePlatforms value packagePlatforms value
else else