diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-12-18 10:05:55 -0500 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-12-18 10:06:24 -0500 |
commit | f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c (patch) | |
tree | 2715ecfdec10c84a5bce0f7b0c9ddda0a6371ddf | |
parent | 647c8d800f2e6067e2ef821634e556a53cbc2dd8 (diff) | |
download | nixpkgs-f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c.tar nixpkgs-f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c.tar.gz nixpkgs-f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c.tar.bz2 nixpkgs-f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c.tar.lz nixpkgs-f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c.tar.xz nixpkgs-f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c.tar.zst nixpkgs-f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c.zip |
hercules-ci-cnix-store: fix darwin build
-rw-r--r-- | pkgs/development/haskell-modules/configuration-darwin.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 5248523e0cd..13367c61be3 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -30,6 +30,10 @@ self: super: ({ double-conversion = addExtraLibrary pkgs.libcxx super.double-conversion; + hercules-ci-cnix-store = super.hercules-ci-cnix-store.overrideAttrs (drv: { + NIX_CFLAGS_COMPILE = "-D_LIBCPP_DISABLE_AVAILABILITY"; + }); + apecs-physics = addPkgconfigDepends [ darwin.apple_sdk.frameworks.ApplicationServices ] super.apecs-physics; |