From 84104a01eb8f0778aeae42eb5a7707620cd9c7aa Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 22 Dec 2020 14:41:36 +0100 Subject: [PATCH] haskellPackages.apecs-physics: depend on ApplicationServices on darwin --- pkgs/development/haskell-modules/configuration-common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 58bb73e4445..655199ca5be 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1543,4 +1543,8 @@ self: super: { # https://github.com/yesodweb/yesod/issues/1714 yesod-core = dontCheck super.yesod-core; + # Add ApplicationServices on darwin + apecs-physics = addPkgconfigDepends super.apecs-physics + (pkgs.lib.optional pkgs.stdenv.isDarwin pkgs.darwin.apple_sdk.frameworks.ApplicationServices); + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super