Merge pull request #178143 from sternenseemann/releaseLib-respect-bad-platforms
release-lib.nix: make packagePlatforms respect badPlatforms
This commit is contained in:
@@ -146,7 +146,8 @@ rec {
|
||||
packagePlatforms = mapAttrs (name: value:
|
||||
if isDerivation value then
|
||||
value.meta.hydraPlatforms
|
||||
or (value.meta.platforms or [ "x86_64-linux" ])
|
||||
or (lib.subtractLists (value.meta.badPlatforms or [])
|
||||
(value.meta.platforms or [ "x86_64-linux" ]))
|
||||
else if value.recurseForDerivations or false || value.recurseForRelease or false then
|
||||
packagePlatforms value
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user