Patch 7a20d76
failed when the Haskell expression lacked a meta attribute. This commit fixes that issue.
This commit is contained in:
parent
7a20d76482
commit
bddf342631
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
|
|||
doCheck = enableCheckPhase && x.doCheck;
|
||||
hyperlinkSource = enableHyperlinkSource && x.hyperlinkSource;
|
||||
# Disable Darwin builds: <https://github.com/NixOS/nixpkgs/issues/2689>.
|
||||
meta = let meta = x.meta;
|
||||
meta = let meta = x.meta or {};
|
||||
hydraPlatforms = meta.hydraPlatforms or meta.platforms or [];
|
||||
noElem = p: ps: !stdenv.lib.elem p ps;
|
||||
noDarwin = p: noElem p stdenv.lib.platforms.darwin;
|
||||
|
|
Loading…
Reference in a new issue