From 84f49ed51fdb945f153310c3d07da20bb059432e Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 18 May 2021 17:03:48 +0200 Subject: [PATCH] haskellPackages.iniline-asm: only test on x86 x86 assembler doesn't compile on aarch64 of course. --- pkgs/development/haskell-modules/configuration-nix.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 6b90e330dace..84c8a8e8c997 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -793,4 +793,9 @@ self: super: builtins.intersectAttrs super { pkgs.zlib ] ++ (drv.librarySystemDepends or []); }); + + # test suite uses x86 assembler + inline-asm = overrideCabal super.inline-asm { + doCheck = pkgs.stdenv.hostPlatform.isx86; + }; }