summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
author(cdep)illabout <cdep.illabout@gmail.com>2021-07-18 15:19:34 +0900
committer(cdep)illabout <cdep.illabout@gmail.com>2021-07-24 21:13:02 +0900
commitbe8d8a9efba330011c848a0f86b7b4a815d34ec2 (patch)
tree857140bce93b55a023b5fa2acbbd9deb354838cb /pkgs/development
parent5b6f2ae03d2eef42a8ac00a3e567fc20d2c310c3 (diff)
downloadnixpkgs-be8d8a9efba330011c848a0f86b7b4a815d34ec2.tar
nixpkgs-be8d8a9efba330011c848a0f86b7b4a815d34ec2.tar.gz
nixpkgs-be8d8a9efba330011c848a0f86b7b4a815d34ec2.tar.bz2
nixpkgs-be8d8a9efba330011c848a0f86b7b4a815d34ec2.tar.lz
nixpkgs-be8d8a9efba330011c848a0f86b7b4a815d34ec2.tar.xz
nixpkgs-be8d8a9efba330011c848a0f86b7b4a815d34ec2.tar.zst
nixpkgs-be8d8a9efba330011c848a0f86b7b4a815d34ec2.zip
ghc: mark integer-simple builds as broken when hostplatform is musl
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/compilers/ghc/8.10.4.nix4
-rw-r--r--pkgs/development/compilers/ghc/8.8.4.nix4
-rw-r--r--pkgs/development/compilers/ghc/9.0.1.nix4
3 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/8.10.4.nix b/pkgs/development/compilers/ghc/8.10.4.nix
index 10ca2f6662c..07784c42647 100644
--- a/pkgs/development/compilers/ghc/8.10.4.nix
+++ b/pkgs/development/compilers/ghc/8.10.4.nix
@@ -309,6 +309,10 @@ stdenv.mkDerivation (rec {
     maintainers = with lib.maintainers; [ marcweber andres peti ];
     timeout = 24 * 3600;
     inherit (ghc.meta) license platforms;
+
+    # integer-simple builds are broken when GHC links against musl.
+    # See https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881323743.
+    broken = enableIntegerSimple && hostPlatform.isMusl;
   };
 
 } // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
diff --git a/pkgs/development/compilers/ghc/8.8.4.nix b/pkgs/development/compilers/ghc/8.8.4.nix
index 23826614716..bb2267c930d 100644
--- a/pkgs/development/compilers/ghc/8.8.4.nix
+++ b/pkgs/development/compilers/ghc/8.8.4.nix
@@ -319,6 +319,10 @@ stdenv.mkDerivation (rec {
     maintainers = with lib.maintainers; [ marcweber andres peti ];
     timeout = 24 * 3600;
     inherit (ghc.meta) license platforms;
+
+    # integer-simple builds are broken when GHC links against musl.
+    # See https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881323743.
+    broken = enableIntegerSimple && hostPlatform.isMusl;
   };
 
   dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
diff --git a/pkgs/development/compilers/ghc/9.0.1.nix b/pkgs/development/compilers/ghc/9.0.1.nix
index d2ae51c66de..30a7f7a4f40 100644
--- a/pkgs/development/compilers/ghc/9.0.1.nix
+++ b/pkgs/development/compilers/ghc/9.0.1.nix
@@ -296,6 +296,10 @@ stdenv.mkDerivation (rec {
     maintainers = with lib.maintainers; [ marcweber andres peti ];
     timeout = 24 * 3600;
     inherit (ghc.meta) license platforms;
+
+    # integer-simple builds are broken when GHC links against musl.
+    # See https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881323743.
+    broken = enableIntegerSimple && hostPlatform.isMusl;
   };
 
 } // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {