diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-05-06 10:49:57 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-05-06 10:49:57 +0200 |
commit | abf5583c5a964f62142025c6c350842041791183 (patch) | |
tree | dfa050887dae81644e3ff58f197a55124297a4af /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 977ccbf6bf39dbc81a5463c012a214bfe1dfb001 (diff) | |
download | nixpkgs-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.nix | 6 |
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 |