summary refs log tree commit diff
path: root/pkgs/top-level/release-haskell.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-17 12:01:55 +0000
committerGitHub <noreply@github.com>2021-07-17 12:01:55 +0000
commit732bd85cf5ce831a88eb7871fd186c386a6493b0 (patch)
treef2f0e28400338209efd16ff0459e5769e566b052 /pkgs/top-level/release-haskell.nix
parent29bbe7c6169adf86e8e51f14ef6c133480f608df (diff)
parent4ee4d805d29afac902a3c631ab13ad08fbe1e84d (diff)
downloadnixpkgs-732bd85cf5ce831a88eb7871fd186c386a6493b0.tar
nixpkgs-732bd85cf5ce831a88eb7871fd186c386a6493b0.tar.gz
nixpkgs-732bd85cf5ce831a88eb7871fd186c386a6493b0.tar.bz2
nixpkgs-732bd85cf5ce831a88eb7871fd186c386a6493b0.tar.lz
nixpkgs-732bd85cf5ce831a88eb7871fd186c386a6493b0.tar.xz
nixpkgs-732bd85cf5ce831a88eb7871fd186c386a6493b0.tar.zst
nixpkgs-732bd85cf5ce831a88eb7871fd186c386a6493b0.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/top-level/release-haskell.nix')
-rw-r--r--pkgs/top-level/release-haskell.nix36
1 files changed, 26 insertions, 10 deletions
diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix
index c4db73d416c..fe5241e3634 100644
--- a/pkgs/top-level/release-haskell.nix
+++ b/pkgs/top-level/release-haskell.nix
@@ -89,11 +89,13 @@ let
       haskellPackages = packagePlatforms pkgs.haskellPackages;
       haskell.compiler = packagePlatforms pkgs.haskell.compiler;
 
-      tests = let
-        testPlatforms = packagePlatforms pkgs.tests;
-      in {
-        haskell = testPlatforms.haskell;
-        writers = testPlatforms.writers;
+      tests.haskell = packagePlatforms pkgs.tests.haskell;
+
+      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
@@ -247,11 +249,10 @@ let
         };
         constituents = accumulateDerivations [
           # haskell specific tests
-          jobs.tests.haskell
-          # writeHaskell and writeHaskellBin
-          # TODO: writeHaskell currently fails on darwin
-          jobs.tests.writers.x86_64-linux
-          jobs.tests.writers.aarch64-linux
+          #
+          # TODO: The writers test appears to be failing on darwin for unknown
+          # reasons.  See https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881307871.
+          (lib.recursiveUpdate jobs.tests.haskell { writers.x86_64-darwin = null; })
           # important top-level packages
           jobs.cabal-install
           jobs.cabal2nix
@@ -309,6 +310,21 @@ let
           jobs.pkgsStatic.haskell.packages.integer-simple.ghc8104.random.aarch64-linux
         ];
       };
+      muslGHCs = pkgs.releaseTools.aggregate {
+        name = "haskell-pkgsMusl-ghcs";
+        meta = {
+          description = "GHCs built with musl";
+          maintainers = with lib.maintainers; [
+            nh2
+          ];
+        };
+        constituents = accumulateDerivations [
+          jobs.pkgsMusl.haskell.compiler.ghc8102Binary
+          jobs.pkgsMusl.haskell.compiler.ghc884
+          jobs.pkgsMusl.haskell.compiler.ghc8104
+          jobs.pkgsMusl.haskell.compiler.ghc901
+        ];
+      };
     }
   ];