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 (
|
let res = builtins.tryEval (
|
||||||
if isDerivation value then
|
if isDerivation value then
|
||||||
value.meta.hydraPlatforms
|
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
|
else if value.recurseForDerivations or false || value.recurseForRelease or false then
|
||||||
packagePlatforms value
|
packagePlatforms value
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user