mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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
@ -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 New Issue
Block a user