From b7a0833e686e6d5dd9dca7e07ece90bf813ee3a9 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 13 Jul 2021 15:07:05 +0200 Subject: [PATCH] top-level/release-haskell.nix: don't test ghc865Binary on musl pkgsMusl.haskell.compiler.ghc865Binary is known and expected to not work, so we can remove it easily. Also gets rid of annoying evaluation errors. --- pkgs/top-level/release-haskell.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix index 27449ac97269..9cc5fb7e0a06 100644 --- a/pkgs/top-level/release-haskell.nix +++ b/pkgs/top-level/release-haskell.nix @@ -96,7 +96,12 @@ let writers = testPlatforms.writers; }; - pkgsMusl.haskell.compiler = packagePlatforms pkgs.pkgsMusl.haskell.compiler; + pkgsMusl.haskell.compiler = packagePlatforms pkgs.pkgsMusl.haskell.compiler // { + # remove musl ghc865Binary since it is known to be broken and + # causes an evaluation error on darwin. + # TODO: remove ghc865Binary altogether and use ghc8102Binary + ghc865Binary = {}; + }; # test some statically linked packages to catch regressions # and get some cache going for static compilation with GHC