Unverified Commit 8957f143 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

buildMix, mixRelease: Default to `__darwinAllowLocalNetworking = true` (#466015)

parents 33cf0283 c277543b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -57,6 +57,8 @@ let
        MIX_DEBUG = if enableDebugInfo then 1 else 0;
        HEX_OFFLINE = 1;

        __darwinAllowLocalNetworking = true;

        ERL_COMPILER_OPTIONS =
          let
            options = erlangCompilerOptions ++ lib.optionals erlangDeterministicBuilds [ "deterministic" ];
+2 −0
Original line number Diff line number Diff line
@@ -129,6 +129,8 @@ stdenv.mkDerivation (
    MIX_DEBUG = if enableDebugInfo then 1 else 0;
    HEX_OFFLINE = 1;

    __darwinAllowLocalNetworking = true;

    DEBUG = if enableDebugInfo then 1 else 0; # for Rebar3 compilation
    # The API with `mix local.rebar rebar path` makes a copy of the binary
    # some older dependencies still use rebar.