From 3ebd278b2eb63c916d8569df0cd604faa34a0ee3 Mon Sep 17 00:00:00 2001 From: Merkhad Luigton Date: Mon, 23 Nov 2020 13:36:22 -0300 Subject: [PATCH] ghc8102: bootstrap with ghc8102BinaryMinimal on aarch32 ghc refuses to evaluate on armhf even tho ghc does provide binaries for the arch --- pkgs/top-level/haskell-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index e613b931d631..2d25ea149a92 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -96,7 +96,7 @@ in { }; ghc8102 = callPackage ../development/compilers/ghc/8.10.2.nix { # aarch64 ghc865Binary gets SEGVs due to haskell#15449 or similar - bootPkgs = if stdenv.isAarch64 then + bootPkgs = if stdenv.isAarch64 || stdenv.isAarch32 then packages.ghc8102BinaryMinimal else packages.ghc865Binary;