darwin: erlangR18: add needed inputs for Darwin

This commit is contained in:
Asko Soukka 2015-10-25 14:37:15 +02:00
parent 6e9f77dc29
commit a5ac419236
2 changed files with 18 additions and 5 deletions

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 '';

View File

@ -4913,10 +4913,21 @@ let
erlangR17_odbc = callPackage ../development/interpreters/erlang/R17.nix { odbcSupport = true; };
erlangR17_javac = callPackage ../development/interpreters/erlang/R17.nix { javacSupport = true; };
erlangR17_odbc_javac = callPackage ../development/interpreters/erlang/R17.nix { javacSupport = true; odbcSupport = true; };
erlangR18 = callPackage ../development/interpreters/erlang/R18.nix { };
erlangR18_odbc = callPackage ../development/interpreters/erlang/R18.nix { odbcSupport = true; };
erlangR18_javac = callPackage ../development/interpreters/erlang/R18.nix { javacSupport = true; };
erlangR18_odbc_javac = callPackage ../development/interpreters/erlang/R18.nix { javacSupport = true; odbcSupport = true; };
erlangR18 = callPackage ../development/interpreters/erlang/R18.nix {
inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa;
};
erlangR18_odbc = callPackage ../development/interpreters/erlang/R18.nix {
inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa;
odbcSupport = true;
};
erlangR18_javac = callPackage ../development/interpreters/erlang/R18.nix {
inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa;
javacSupport = true;
};
erlangR18_odbc_javac = callPackage ../development/interpreters/erlang/R18.nix {
inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa;
javacSupport = true; odbcSupport = true;
};
erlang = erlangR18;
erlang_odbc = erlangR18_odbc;
erlang_javac = erlangR18_javac;