Skip to content

Commit

Permalink
haxe_4_1,haxe_4_2: fix build on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
OPNA2608 authored and sternenseemann committed Apr 20, 2021
1 parent 609d9cb commit 14b5ddf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/compilers/haxe/default.nix
@@ -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:
Expand Down Expand Up @@ -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 {
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -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
Expand Down

0 comments on commit 14b5ddf

Please sign in to comment.