darwin: erlangR18: add needed inputs for Darwin

This commit is contained in:
Asko Soukka
2015-10-26 22:02:56 +02:00
parent 6e9f77dc29
commit a5ac419236
2 changed files with 18 additions and 5 deletions
+3 -1
View File
@@ -1,5 +1,6 @@
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl
, gnused, gawk, makeWrapper
, AppKit, Carbon, Cocoa
, odbcSupport ? false, unixODBC ? null
, wxSupport ? true, mesa ? null, wxGTK ? null, xorg ? null, wxmac ? null
, javacSupport ? false, openjdk ? null
@@ -29,7 +30,8 @@ stdenv.mkDerivation rec {
[ perl gnum4 ncurses openssl makeWrapper
] ++ optional wxSupport (if stdenv.isDarwin then [ wxmac ] else [ mesa wxGTK xorg.libX11 ])
++ optional odbcSupport [ unixODBC ]
++ optional javacSupport [ openjdk ];
++ optional javacSupport [ openjdk ]
++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Carbon Cocoa ];
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';