summary refs log tree commit diff
path: root/pkgs/development/interpreters/erlang
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-08-11 22:15:37 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 19:25:39 +0000
commitfa4b1ee68a23a61867a11b1d08b096d57a92cfb7 (patch)
tree3fd3a7349fbbf52c3b32b25947ecb390a5367fc1 /pkgs/development/interpreters/erlang
parent9610fc55efb97eef2316edaee886beadb822144e (diff)
downloadnixlib-fa4b1ee68a23a61867a11b1d08b096d57a92cfb7.tar
nixlib-fa4b1ee68a23a61867a11b1d08b096d57a92cfb7.tar.gz
nixlib-fa4b1ee68a23a61867a11b1d08b096d57a92cfb7.tar.bz2
nixlib-fa4b1ee68a23a61867a11b1d08b096d57a92cfb7.tar.lz
nixlib-fa4b1ee68a23a61867a11b1d08b096d57a92cfb7.tar.xz
nixlib-fa4b1ee68a23a61867a11b1d08b096d57a92cfb7.tar.zst
nixlib-fa4b1ee68a23a61867a11b1d08b096d57a92cfb7.zip
erlangR16: fix darwin build
Diffstat (limited to 'pkgs/development/interpreters/erlang')
-rw-r--r--pkgs/development/interpreters/erlang/R16.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/erlang/R16.nix b/pkgs/development/interpreters/erlang/R16.nix
index 7323fafaf97a..c49b479d6f5b 100644
--- a/pkgs/development/interpreters/erlang/R16.nix
+++ b/pkgs/development/interpreters/erlang/R16.nix
@@ -2,7 +2,8 @@
 , gnused, gawk, makeWrapper
 , odbcSupport ? false, unixODBC ? null
 , wxSupport ? false, mesa ? null, wxGTK ? null, xorg ? null
-, enableDebugInfo ? false }:
+, enableDebugInfo ? false
+, Carbon ? null, Cocoa ? null }:
 
 assert wxSupport -> mesa != null && wxGTK != null && xorg != null;
 assert odbcSupport -> unixODBC != null;
@@ -23,7 +24,8 @@ stdenv.mkDerivation rec {
   buildInputs =
     [ perl gnum4 ncurses openssl makeWrapper
     ] ++ optional wxSupport [ mesa wxGTK xorg.libX11 ]
-      ++ optional odbcSupport [ unixODBC ];
+      ++ optional odbcSupport [ unixODBC ]
+      ++ optional stdenv.isDarwin [ Carbon Cocoa ];
 
   patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';