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
commit 18fa42d8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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