Merge pull request #90206 from Ericson2314/faster-release-eval

release-lib: Avoid filtering twice
This commit is contained in:
John Ericson
2020-06-14 15:50:02 -04:00
committed by GitHub
+1 -1
View File
@@ -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