1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

link yesod-bin with cocoa

This commit is contained in:
Jude Taylor 2015-07-11 16:04:36 -07:00
parent 5f308b50e4
commit 682dc3ee70

View file

@ -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; });