lib: Messed up or operator precedence

Github broke oddly on my previous PR, so I tested and merged by hand.
Otherwise ofborg would have caught this.
This commit is contained in:
John Ericson 2018-03-19 22:25:49 -04:00
parent 192f4144b2
commit ec2aff0be6

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