diff options
author | happysalada <raphael@megzari.com> | 2021-06-06 19:56:33 +0900 |
---|---|---|
committer | Raphael Megzari <raphael@megzari.com> | 2021-06-07 10:03:48 +0900 |
commit | 2a87cb7a8b4436bcd85fe0fe9532664386879a67 (patch) | |
tree | 27a486417222d2a3efa53f886080cf9aa6711fb3 /pkgs/development/beam-modules/build-rebar3.nix | |
parent | 8989d2eae8aee06ee35b2cbdba74a5e7c366d683 (diff) |
build-mix buildRebar3: strip out derivation for NIFs
Diffstat (limited to 'pkgs/development/beam-modules/build-rebar3.nix')
-rw-r--r-- | pkgs/development/beam-modules/build-rebar3.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/beam-modules/build-rebar3.nix b/pkgs/development/beam-modules/build-rebar3.nix index b66dc535ce031..0dfd68f0993c3 100644 --- a/pkgs/development/beam-modules/build-rebar3.nix +++ b/pkgs/development/beam-modules/build-rebar3.nix @@ -42,9 +42,13 @@ let buildInputs = buildInputs ++ [ erlang rebar3 openssl libyaml ]; propagatedBuildInputs = unique beamDeps; - dontStrip = true; inherit src; + # stripping does not have any effect on beam files + # it is however needed for dependencies with NIFs + # false is the default but we keep this for readability + dontStrip = false; + setupHook = writeText "setupHook.sh" '' addToSearchPath ERL_LIBS "$1/lib/erlang/lib/" ''; |