mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
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 New Issue
Block a user