summary refs log tree commit diff
path: root/pkgs/top-level/release-haskell.nix
diff options
context:
space:
mode:
author(cdep)illabout <cdep.illabout@gmail.com>2021-07-18 15:17:02 +0900
committer(cdep)illabout <cdep.illabout@gmail.com>2021-07-24 14:26:20 +0900
commitb0a42925f191a3900932e47565f960893b11012d (patch)
tree8e39ed2d33735d1c9ae27bd4023ef733cd780399 /pkgs/top-level/release-haskell.nix
parente8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0 (diff)
downloadnixpkgs-b0a42925f191a3900932e47565f960893b11012d.tar
nixpkgs-b0a42925f191a3900932e47565f960893b11012d.tar.gz
nixpkgs-b0a42925f191a3900932e47565f960893b11012d.tar.bz2
nixpkgs-b0a42925f191a3900932e47565f960893b11012d.tar.lz
nixpkgs-b0a42925f191a3900932e47565f960893b11012d.tar.xz
nixpkgs-b0a42925f191a3900932e47565f960893b11012d.tar.zst
nixpkgs-b0a42925f191a3900932e47565f960893b11012d.zip
release-haskell: stop building musl integer-simple GHCs
integer-simple GHCs appear to be broken when linking against musl and
non-static-linking.
Diffstat (limited to 'pkgs/top-level/release-haskell.nix')
-rw-r--r--pkgs/top-level/release-haskell.nix19
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix
index c2e81ddbb42..55824ff1000 100644
--- a/pkgs/top-level/release-haskell.nix
+++ b/pkgs/top-level/release-haskell.nix
@@ -94,13 +94,6 @@ let
       nixosTests.agda = (packagePlatforms pkgs.nixosTests).agda;
       agdaPackages = packagePlatforms pkgs.agdaPackages;
 
-      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 = {};
-      };
-
       # top-level packages that depend on haskellPackages
       inherit (pkgsPlatforms)
         agda
@@ -208,6 +201,18 @@ let
 
       elmPackages.elm = pkgsPlatforms.elmPackages.elm;
 
+      # GHCs linked to musl.
+      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 = {};
+
+        # remove integer-simple because it appears to be broken with
+        # musl and non-static-linking.
+        integer-simple = {};
+      };
+
       # Test some statically linked packages to catch regressions
       # and get some cache going for static compilation with GHC.
       # Use integer-simple to avoid GMP linking problems (LGPL)