From b42cded08defe4347f885a05611e18725a927b2b Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Fri, 6 Aug 2021 15:56:26 +0200 Subject: [PATCH] haskellPackages.ghc-prof: disable tests on aarch64 Since enableLibraryProfiling is false on aarch64, we can't expect tests to work, but the library can still be built. --- pkgs/development/haskell-modules/configuration-arm.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-arm.nix b/pkgs/development/haskell-modules/configuration-arm.nix index f401ff96dfa..1013975ac66 100644 --- a/pkgs/development/haskell-modules/configuration-arm.nix +++ b/pkgs/development/haskell-modules/configuration-arm.nix @@ -95,6 +95,9 @@ self: super: { # https://github.com/ekmett/half/issues/35 half = dontCheck super.half; + # We disable profiling on aarch64, so tests naturally fail + ghc-prof = dontCheck super.ghc-prof; + } // lib.optionalAttrs pkgs.stdenv.hostPlatform.isAarch32 { # AARCH32-SPECIFIC OVERRIDES