diff options
author | Peter Simons <simons@cryp.to> | 2014-10-21 23:30:55 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-10-21 23:54:51 +0200 |
commit | 7a20d764827f12bdd783a63a14ff0b2b9fcfeb96 (patch) | |
tree | 45bc965b35f6ac2d46484a7073e6115660f24b19 /pkgs/development/compilers | |
parent | 917c1638bff8019a8e8d7a159f791d0e6f14a9bc (diff) | |
download | nixpkgs-7a20d764827f12bdd783a63a14ff0b2b9fcfeb96.tar nixpkgs-7a20d764827f12bdd783a63a14ff0b2b9fcfeb96.tar.gz nixpkgs-7a20d764827f12bdd783a63a14ff0b2b9fcfeb96.tar.bz2 nixpkgs-7a20d764827f12bdd783a63a14ff0b2b9fcfeb96.tar.lz nixpkgs-7a20d764827f12bdd783a63a14ff0b2b9fcfeb96.tar.xz nixpkgs-7a20d764827f12bdd783a63a14ff0b2b9fcfeb96.tar.zst nixpkgs-7a20d764827f12bdd783a63a14ff0b2b9fcfeb96.zip |
Disable all Haskell builds for Darwin on Hydra.
Hydra generates a GHC closure for Darwin that for no apparent reason contains an ancient, broken Haddock binary -- probably because of an impurity in the build system. That bug makes those GHC binaries unusable: <https://github.com/NixOS/nixpkgs/issues/2689>.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/ghc/7.8.3.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/compilers/ghc/7.8.3.nix b/pkgs/development/compilers/ghc/7.8.3.nix index dbcba36fa8f..0c142883e65 100644 --- a/pkgs/development/compilers/ghc/7.8.3.nix +++ b/pkgs/development/compilers/ghc/7.8.3.nix @@ -32,15 +32,15 @@ stdenv.mkDerivation rec { # that in turn causes GHCi to abort stripDebugFlags = [ "-S" "--keep-file-symbols" ]; - meta = { + meta = with stdenv.lib; { homepage = "http://haskell.org/ghc"; description = "The Glasgow Haskell Compiler"; - maintainers = [ - stdenv.lib.maintainers.marcweber - stdenv.lib.maintainers.andres - stdenv.lib.maintainers.simons - ]; - inherit (ghc.meta) license platforms; + maintainers = [ maintainers.marcweber maintainers.andres maintainers.simons ]; + inherit (ghc.meta) license; + # Filter old "i686-darwin" platform which is unsupported these days. + platforms = filter (x: elem x platforms.all) ghc.meta.platforms; + # Disable Darwin builds: <https://github.com/NixOS/nixpkgs/issues/2689>. + hydraPlatforms = filter (x: !elem x platforms.darwin) meta.platforms; }; } |