From a9a5465f849b76d625b39911402b2383a0d21399 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 18 May 2021 17:46:04 +0200 Subject: [PATCH] haskellPackages.inline-asm: restrict to x86 Main executable uses x86 assembler, so we can't build it anywhere at all. --- pkgs/development/haskell-modules/configuration-nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 84c8a8e8c99..978dd86a945 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -794,8 +794,8 @@ self: super: builtins.intersectAttrs super { ] ++ (drv.librarySystemDepends or []); }); - # test suite uses x86 assembler + # uses x86 assembler inline-asm = overrideCabal super.inline-asm { - doCheck = pkgs.stdenv.hostPlatform.isx86; + platforms = pkgs.lib.platforms.isx86; }; }