summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-06 10:49:57 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-06 10:49:57 +0200
commitabf5583c5a964f62142025c6c350842041791183 (patch)
treedfa050887dae81644e3ff58f197a55124297a4af /pkgs/development/haskell-modules/configuration-common.nix
parent977ccbf6bf39dbc81a5463c012a214bfe1dfb001 (diff)
downloadnixpkgs-abf5583c5a964f62142025c6c350842041791183.tar
nixpkgs-abf5583c5a964f62142025c6c350842041791183.tar.gz
nixpkgs-abf5583c5a964f62142025c6c350842041791183.tar.bz2
nixpkgs-abf5583c5a964f62142025c6c350842041791183.tar.lz
nixpkgs-abf5583c5a964f62142025c6c350842041791183.tar.xz
nixpkgs-abf5583c5a964f62142025c6c350842041791183.tar.zst
nixpkgs-abf5583c5a964f62142025c6c350842041791183.zip
haskellPackages.llvm-hs: disable tests on non-x86_64
Should fix build on aarch64, see linked issue.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index f5d3472e7ac..6f3114615b1 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1846,4 +1846,10 @@ self: super: {
     doCheck = !pkgs.stdenv.hostPlatform.isAarch64;
   };
 
+  # Tests need to lookup target triple x86_64-unknown-linux
+  # https://github.com/llvm-hs/llvm-hs/issues/334
+  llvm-hs = overrideCabal super.llvm-hs {
+    doCheck = pkgs.stdenv.targetPlatform.system == "x86_64-linux";
+  };
+
 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super