3
0
Fork 0
forked from mirrors/nixpkgs

haxe_4_1,haxe_4_2: fix build on Darwin

This commit is contained in:
OPNA2608 2021-04-20 23:06:35 +02:00 committed by sterni
parent 609d9cb227
commit 14b5ddf085
2 changed files with 6 additions and 3 deletions

View file

@ -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
ocamlDependencies = version:
@ -31,7 +31,8 @@ let
inherit version;
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;
src = fetchFromGitHub {

View file

@ -10620,7 +10620,9 @@ in
graphviz = graphviz-nox;
});
inherit (callPackage ../development/compilers/haxe { })
inherit (callPackage ../development/compilers/haxe {
inherit (darwin.apple_sdk.frameworks) Security;
})
haxe_4_2
haxe_4_1
haxe_4_0