haxe_4_1,haxe_4_2: fix build on Darwin
This commit is contained in:
parent
609d9cb227
commit
14b5ddf085
2 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, coreutils, ocaml-ng, zlib, pcre, neko, mbedtls }:
|
{ lib, stdenv, fetchFromGitHub, coreutils, ocaml-ng, zlib, pcre, neko, mbedtls, Security }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ocamlDependencies = version:
|
ocamlDependencies = version:
|
||||||
|
@ -31,7 +31,8 @@ let
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
buildInputs = [ zlib pcre neko ]
|
buildInputs = [ zlib pcre neko ]
|
||||||
++ lib.optional (lib.versionAtLeast version "4.1") [ mbedtls ]
|
++ lib.optional (lib.versionAtLeast version "4.1") mbedtls
|
||||||
|
++ lib.optional (lib.versionAtLeast version "4.1" && stdenv.isDarwin) Security
|
||||||
++ ocamlDependencies version;
|
++ ocamlDependencies version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -10620,7 +10620,9 @@ in
|
||||||
graphviz = graphviz-nox;
|
graphviz = graphviz-nox;
|
||||||
});
|
});
|
||||||
|
|
||||||
inherit (callPackage ../development/compilers/haxe { })
|
inherit (callPackage ../development/compilers/haxe {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
})
|
||||||
haxe_4_2
|
haxe_4_2
|
||||||
haxe_4_1
|
haxe_4_1
|
||||||
haxe_4_0
|
haxe_4_0
|
||||||
|
|
Loading…
Reference in a new issue