summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-07 13:08:31 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-08 00:27:51 +0200
commit4b137c9418d881532e06c0851e2e9448d20ef5a9 (patch)
treed44efc2bcf788133c987dedb597e100619dbf129
parent6c424a7e4191dead420bd7bf18bda524f8f98312 (diff)
downloadnixpkgs-4b137c9418d881532e06c0851e2e9448d20ef5a9.tar
nixpkgs-4b137c9418d881532e06c0851e2e9448d20ef5a9.tar.gz
nixpkgs-4b137c9418d881532e06c0851e2e9448d20ef5a9.tar.bz2
nixpkgs-4b137c9418d881532e06c0851e2e9448d20ef5a9.tar.lz
nixpkgs-4b137c9418d881532e06c0851e2e9448d20ef5a9.tar.xz
nixpkgs-4b137c9418d881532e06c0851e2e9448d20ef5a9.tar.zst
nixpkgs-4b137c9418d881532e06c0851e2e9448d20ef5a9.zip
haskellPackages.hsignal: restrict platforms to x86
SSE(2) is an intel instruction set
-rw-r--r--pkgs/development/haskell-modules/configuration-nix.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index 6f38c89088c..a463401a8a8 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -867,4 +867,9 @@ self: super: builtins.intersectAttrs super {
 
   # Pass the correct libarchive into the package.
   streamly-archive = super.streamly-archive.override { archive = pkgs.libarchive; };
+
+  # passes the -msse2 flag which only works on x86 platforms
+  hsignal = overrideCabal super.hsignal {
+    platforms = pkgs.lib.platforms.x86;
+  };
 }