···2929 MIX_DEBUG = if enableDebugInfo then 1 else 0;
3030 HEX_OFFLINE = 1;
31313232- # stripping does not have any effect on beam files
3333- dontStrip = true;
3434-3532 # add to ERL_LIBS so other modules can find at runtime.
3633 # http://erlang.org/doc/man/code.html#code-path
3734 # Mix also searches the code path when compiling with the --no-deps-check flag
···71687269 runHook postInstall
7370 '';
7171+7272+ # stripping does not have any effect on beam files
7373+ # it is however needed for dependencies with NIFs like bcrypt for example
7474+ dontStrip = false;
74757576 passthru = {
7677 packageName = name;
+5-1
pkgs/development/beam-modules/build-rebar3.nix
···4242 buildInputs = buildInputs ++ [ erlang rebar3 openssl libyaml ];
4343 propagatedBuildInputs = unique beamDeps;
44444545- dontStrip = true;
4645 inherit src;
4646+4747+ # stripping does not have any effect on beam files
4848+ # it is however needed for dependencies with NIFs
4949+ # false is the default but we keep this for readability
5050+ dontStrip = false;
47514852 setupHook = writeText "setupHook.sh" ''
4953 addToSearchPath ERL_LIBS "$1/lib/erlang/lib/"