From 6b1ec5695f979879ee3bb9a9aad90cc8cfbc140b Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 6 May 2021 17:53:13 +0200 Subject: [PATCH] haskellPackages.FractalArt: pass objc 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 b6bfb78771d..1a2c1d0f60b 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -857,4 +857,10 @@ self: super: builtins.intersectAttrs super { install -D man/pnbackup.1 $out/share/man/man1/pnbackup.1 '' + (drv.postInstall or ""); }); + + # TODO(@sternenseemann): can we determine this statically in cabal2nix? + FractalArt = super.FractalArt.override + (lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin { + objc = pkgs.darwin.libojc; + }); }