about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-darwin.nix
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2021-08-28 14:47:58 +0200
committerDomen Kožar <domen@dev.si>2021-08-28 14:53:11 +0200
commit75e78ebaecf9cec27503f31669e9bef408eb6944 (patch)
tree6cc1af850e767f8bdb518e9c1f03763c2f258399 /pkgs/development/haskell-modules/configuration-darwin.nix
parenta0142cc3cc7585c82c9f38eb469d18456bbeb0ab (diff)
cachix: fix build on aarch64-darwin
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-darwin.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-darwin.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix
index 9fb5fb33e472b..bf7b05148dc79 100644
--- a/pkgs/development/haskell-modules/configuration-darwin.nix
+++ b/pkgs/development/haskell-modules/configuration-darwin.nix
@@ -8,7 +8,7 @@ in
 
 with haskellLib;
 
-self: super: {
+self: super: ({
 
   # the tests for shell-conduit on Darwin illegitimatey assume non-GNU echo
   # see: https://github.com/psibi/shell-conduit/issues/12
@@ -253,4 +253,11 @@ self: super: {
   # Otherwise impure gcc is used, which is Apple's weird wrapper
   c2hsc = addTestToolDepends super.c2hsc [ pkgs.gcc ];
 
-}
+} // lib.optionalAttrs pkgs.stdenv.isAarch64 {  # aarch64-darwin
+
+  # https://github.com/fpco/unliftio/issues/87
+  unliftio = dontCheck super.unliftio;
+
+  # https://github.com/fpco/inline-c/issues/127
+  inline-c-cpp = dontCheck super.inline-c-cpp;
+})