diff options
author | Jude Taylor <me@jude.bio> | 2015-07-11 16:04:36 -0700 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2015-07-11 16:05:04 -0700 |
commit | 682dc3ee70c7a24b0eac93189bf66a2eb331f0a0 (patch) | |
tree | 3c8ae6993189f0fdcbafd4dda90dd3060814e05c /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 5f308b50e4b4536406ab38a1f19de3d9a8681c17 (diff) | |
download | nixpkgs-682dc3ee70c7a24b0eac93189bf66a2eb331f0a0.tar nixpkgs-682dc3ee70c7a24b0eac93189bf66a2eb331f0a0.tar.gz nixpkgs-682dc3ee70c7a24b0eac93189bf66a2eb331f0a0.tar.bz2 nixpkgs-682dc3ee70c7a24b0eac93189bf66a2eb331f0a0.tar.lz nixpkgs-682dc3ee70c7a24b0eac93189bf66a2eb331f0a0.tar.xz nixpkgs-682dc3ee70c7a24b0eac93189bf66a2eb331f0a0.tar.zst nixpkgs-682dc3ee70c7a24b0eac93189bf66a2eb331f0a0.zip |
link yesod-bin with cocoa
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 232ea3630e4..75e47e7ce77 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -897,6 +897,10 @@ self: super: { wai-session = markBroken super.wai-session; serversession-frontend-wai = dontDistribute super.serversession-frontend-wai; + yesod-bin = if pkgs.stdenv.isDarwin + then addBuildDepend super.yesod-bin pkgs.darwin.apple_sdk.frameworks.Cocoa + else super.yesod-bin; + # https://github.com/commercialhaskell/stack/issues/408 # https://github.com/commercialhaskell/stack/issues/409 stack = overrideCabal super.stack (drv: { preCheck = "export HOME=$TMPDIR"; doCheck = false; }); |