darwin: erlangR18: add needed inputs for Darwin
This commit is contained in:
parent
6e9f77dc29
commit
a5ac419236
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl
|
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl
|
||||||
, gnused, gawk, makeWrapper
|
, gnused, gawk, makeWrapper
|
||||||
|
, AppKit, Carbon, Cocoa
|
||||||
, odbcSupport ? false, unixODBC ? null
|
, odbcSupport ? false, unixODBC ? null
|
||||||
, wxSupport ? true, mesa ? null, wxGTK ? null, xorg ? null, wxmac ? null
|
, wxSupport ? true, mesa ? null, wxGTK ? null, xorg ? null, wxmac ? null
|
||||||
, javacSupport ? false, openjdk ? null
|
, javacSupport ? false, openjdk ? null
|
||||||
@ -29,7 +30,8 @@ stdenv.mkDerivation rec {
|
|||||||
[ perl gnum4 ncurses openssl makeWrapper
|
[ perl gnum4 ncurses openssl makeWrapper
|
||||||
] ++ optional wxSupport (if stdenv.isDarwin then [ wxmac ] else [ mesa wxGTK xorg.libX11 ])
|
] ++ optional wxSupport (if stdenv.isDarwin then [ wxmac ] else [ mesa wxGTK xorg.libX11 ])
|
||||||
++ optional odbcSupport [ unixODBC ]
|
++ 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 '';
|
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
|
||||||
|
|
||||||
|
@ -4913,10 +4913,21 @@ let
|
|||||||
erlangR17_odbc = callPackage ../development/interpreters/erlang/R17.nix { odbcSupport = true; };
|
erlangR17_odbc = callPackage ../development/interpreters/erlang/R17.nix { odbcSupport = true; };
|
||||||
erlangR17_javac = callPackage ../development/interpreters/erlang/R17.nix { javacSupport = true; };
|
erlangR17_javac = callPackage ../development/interpreters/erlang/R17.nix { javacSupport = true; };
|
||||||
erlangR17_odbc_javac = callPackage ../development/interpreters/erlang/R17.nix { javacSupport = true; odbcSupport = true; };
|
erlangR17_odbc_javac = callPackage ../development/interpreters/erlang/R17.nix { javacSupport = true; odbcSupport = true; };
|
||||||
erlangR18 = callPackage ../development/interpreters/erlang/R18.nix { };
|
erlangR18 = callPackage ../development/interpreters/erlang/R18.nix {
|
||||||
erlangR18_odbc = callPackage ../development/interpreters/erlang/R18.nix { odbcSupport = true; };
|
inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa;
|
||||||
erlangR18_javac = callPackage ../development/interpreters/erlang/R18.nix { javacSupport = true; };
|
};
|
||||||
erlangR18_odbc_javac = callPackage ../development/interpreters/erlang/R18.nix { javacSupport = true; odbcSupport = true; };
|
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 = erlangR18;
|
||||||
erlang_odbc = erlangR18_odbc;
|
erlang_odbc = erlangR18_odbc;
|
||||||
erlang_javac = erlangR18_javac;
|
erlang_javac = erlangR18_javac;
|
||||||
|
Loading…
Reference in New Issue
Block a user