From d1de348fdc0055e7abe86f90d65abc939f39440e Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Sun, 16 May 2021 16:52:08 +0900 Subject: [PATCH] haskell.compiler.ghcHEAD: mark broken on aarch64 --- pkgs/development/compilers/ghc/head.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index 74e03550255..60371ec5a1b 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -258,7 +258,10 @@ stdenv.mkDerivation (rec { homepage = "http://haskell.org/ghc"; description = "The Glasgow Haskell Compiler"; maintainers = with lib.maintainers; [ marcweber andres peti ]; - inherit (ghc.meta) license platforms; + inherit (ghc.meta) license; + # GHC-HEAD does not appear to compile on aarch64. + broken = stdenv.isAarch64; + platforms = builtins.filter (p: p != "aarch64-linux") ghc.meta.platforms; }; dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);