forked from mirrors/nixpkgs
release-lib: Avoid filtering twice
We were using `supportedMatches` both when getting the list of platforms, and before `genAttrs` the derivation for each. Now we just filter the second time,
This commit is contained in:
parent
e596d5cd63
commit
2a8b8f6593
|
@ -145,7 +145,7 @@ rec {
|
|||
let res = builtins.tryEval (
|
||||
if isDerivation value then
|
||||
value.meta.hydraPlatforms
|
||||
or (supportedMatches (value.meta.platforms or [ "x86_64-linux" ]))
|
||||
or (value.meta.platforms or [ "x86_64-linux" ])
|
||||
else if value.recurseForDerivations or false || value.recurseForRelease or false then
|
||||
packagePlatforms value
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue