summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-07 15:09:08 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-07 15:09:08 +0200
commit355b55d00b2a7850305d37b58c58b87adafee192 (patch)
tree94a3a1e466b6458b3f4941639cb706302df79b14 /pkgs/development/compilers
parent86878f63f9a57a128741ef6e6144780362396cac (diff)
downloadnixpkgs-355b55d00b2a7850305d37b58c58b87adafee192.tar
nixpkgs-355b55d00b2a7850305d37b58c58b87adafee192.tar.gz
nixpkgs-355b55d00b2a7850305d37b58c58b87adafee192.tar.bz2
nixpkgs-355b55d00b2a7850305d37b58c58b87adafee192.tar.lz
nixpkgs-355b55d00b2a7850305d37b58c58b87adafee192.tar.xz
nixpkgs-355b55d00b2a7850305d37b58c58b87adafee192.tar.zst
nixpkgs-355b55d00b2a7850305d37b58c58b87adafee192.zip
ghc8102Binary, ghc865Binary: don't build aarch64 on hydra
Unfortunately these compiler's normal binary versions exceed the maximum
output size on hydra and thus can't be built on there.

See also https://gitlab.haskell.org/ghc/ghc/-/issues/17051
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/ghc/8.10.2-binary.nix3
-rw-r--r--pkgs/development/compilers/ghc/8.6.5-binary.nix7
2 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/compilers/ghc/8.10.2-binary.nix b/pkgs/development/compilers/ghc/8.10.2-binary.nix
index 02373d00b10..6119353174b 100644
--- a/pkgs/development/compilers/ghc/8.10.2-binary.nix
+++ b/pkgs/development/compilers/ghc/8.10.2-binary.nix
@@ -212,11 +212,12 @@ stdenv.mkDerivation rec {
     enableShared = true;
   };
 
-  meta = {
+  meta = rec {
     homepage = "http://haskell.org/ghc";
     description = "The Glasgow Haskell Compiler";
     license = lib.licenses.bsd3;
     platforms = ["x86_64-linux" "armv7l-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
+    hydraPlatforms = builtins.filter (p: minimal || p != "aarch64-linux") platforms;
     maintainers = with lib.maintainers; [ lostnet ];
   };
 }
diff --git a/pkgs/development/compilers/ghc/8.6.5-binary.nix b/pkgs/development/compilers/ghc/8.6.5-binary.nix
index ca984c36957..a73731029f1 100644
--- a/pkgs/development/compilers/ghc/8.6.5-binary.nix
+++ b/pkgs/development/compilers/ghc/8.6.5-binary.nix
@@ -171,6 +171,9 @@ stdenv.mkDerivation rec {
     enableShared = true;
   };
 
-  meta.license = lib.licenses.bsd3;
-  meta.platforms = ["x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
+  meta = rec {
+    license = lib.licenses.bsd3;
+    platforms = ["x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
+    hydraPlatforms = builtins.filter (p: p != "aarch64-linux") platforms;
+  };
 }