mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
stdenv: fix eval
silly 💩
This commit is contained in:
parent
45c52b7312
commit
006769be70
@ -113,7 +113,7 @@ let
|
||||
throwEvalHelp "blacklisted" "has the ‘${attrs.meta.license.shortName}’ license which is blacklisted"
|
||||
else if !allowBroken && attrs.meta.broken or false then
|
||||
throwEvalHelp "Broken" "is marked as broken"
|
||||
else if !allowBroken && builtins.hasAttr "platforms" attrs.meta && !lib.lists.elem result.system attrs.meta.platforms then
|
||||
else if !allowBroken && attrs.meta.platforms or null != null && !lib.lists.elem result.system attrs.meta.platforms then
|
||||
throwEvalHelp "Broken" "is not supported on ‘${result.system}’"
|
||||
else true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user