git.iko.soy/typeable/nixpkgs
on master help sign in
Patch 7a20d76 failed when the Haskell expression lacked a meta attribute. This commit fixes that issue.
commitbddf342631ce417dac99f6f222075c51cf4109de authorPeter Simons <simons@cryp.to> dateWed 22 Oct 2014, 00:23 (12 years ago) parent7a20d76
1 file changed+1−1
pkgs/build-support/cabal/default.nix+1−1
pkgs/build-support/cabal/default.nix+1−1
@@ -58,7 +58,7 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
5858 doCheck = enableCheckPhase && x.doCheck;
5959 hyperlinkSource = enableHyperlinkSource && x.hyperlinkSource;
6060 # Disable Darwin builds: <https://github.com/NixOS/nixpkgs/issues/2689>.
61− meta = let meta = x.meta;
61+ meta = let meta = x.meta or {};
6262 hydraPlatforms = meta.hydraPlatforms or meta.platforms or [];
6363 noElem = p: ps: !stdenv.lib.elem p ps;
6464 noDarwin = p: noElem p stdenv.lib.platforms.darwin;