From da347ae2512d593e44541985697ab9c1fc9a1281 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 6 May 2021 18:02:33 +0200 Subject: [PATCH] haskellPackages.arbtt: pass Foundation on darwin --- pkgs/development/haskell-modules/configuration-nix.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 1a2c1d0f60b9..91cfafcb9430 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -863,4 +863,10 @@ self: super: builtins.intersectAttrs super { (lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin { objc = pkgs.darwin.libojc; }); + + arbtt = overrideCabal super.arbtt (drv: { + librarySystemDepends = lib.optionals pkgs.stdenv.hostPlatform.isDarwin [ + pkgs.darwin.apple_sdk.frameworks.Foundation + ] ++ (drv.librarySystemDepends or []) + }); }