summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
author(cdep)illabout <cdep.illabout@gmail.com>2021-07-18 15:14:30 +0900
committer(cdep)illabout <cdep.illabout@gmail.com>2021-07-24 14:23:50 +0900
commite8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0 (patch)
tree5c2c55d45a0647aa0d9f583d8eef137b733f2bc6 /pkgs/top-level
parentcae27cfeb470fa84b1ca90d92127b1ffaf60a47c (diff)
downloadnixpkgs-e8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0.tar
nixpkgs-e8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0.tar.gz
nixpkgs-e8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0.tar.bz2
nixpkgs-e8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0.tar.lz
nixpkgs-e8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0.tar.xz
nixpkgs-e8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0.tar.zst
nixpkgs-e8bdec3e3234afe6b4e8dc73aa4ec7eccf6d70c0.zip
release-haskell: stop building aarch64 and darwin static haskell packages
The statically-linked Haskell packages on Darwin are not currently
working because libiconv is not building statically on Darwin.

The statically-linked Haskell packages on aarch64 are timing out on Hydra.
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/release-haskell.nix28
1 files changed, 17 insertions, 11 deletions
diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix
index 4d048b31535..c2e81ddbb42 100644
--- a/pkgs/top-level/release-haskell.nix
+++ b/pkgs/top-level/release-haskell.nix
@@ -101,17 +101,6 @@ let
         ghc865Binary = {};
       };
 
-      # 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)
-      pkgsStatic.haskell.packages.integer-simple.ghc8104 = {
-        inherit (staticHaskellPackagesPlatforms)
-          hello
-          random
-          lens
-          ;
-      };
-
       # top-level packages that depend on haskellPackages
       inherit (pkgsPlatforms)
         agda
@@ -218,6 +207,23 @@ let
         ;
 
       elmPackages.elm = pkgsPlatforms.elmPackages.elm;
+
+      # 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)
+      pkgsStatic.haskell.packages.integer-simple.ghc8104 =
+        removePlatforms
+          [
+            "aarch64-linux" # times out on Hydra
+            "x86_64-darwin" # TODO: reenable when static libiconv works on darwin
+          ]
+          {
+            inherit (packagePlatforms pkgs.pkgsStatic.haskell.packages.integer-simple.ghc8104)
+              hello
+              lens
+              random
+              ;
+          };
     })
     (versionedCompilerJobs {
       # Packages which should be checked on more than the