Merge pull request #37399 from obsidiansystems/release-lib-typo

lib: Messed up `or` operator precedence
This commit is contained in:
John Ericson
2018-03-19 22:31:15 -04:00
committed by GitHub

View File

@@ -122,7 +122,7 @@ rec {
let res = builtins.tryEval (
if isDerivation value then
value.meta.hydraPlatforms
or supportedMatches (value.meta.platforms or [ "x86_64-linux" ])
or (supportedMatches (value.meta.platforms or [ "x86_64-linux" ]))
else if value.recurseForDerivations or false || value.recurseForRelease or false then
packagePlatforms value
else