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-mix.nix | |
parent | 8989d2eae8aee06ee35b2cbdba74a5e7c366d683 (diff) |
build-mix buildRebar3: strip out derivation for NIFs
Diffstat (limited to 'pkgs/development/beam-modules/build-mix.nix')
-rw-r--r-- | pkgs/development/beam-modules/build-mix.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/beam-modules/build-mix.nix b/pkgs/development/beam-modules/build-mix.nix index 31d266d357841..783ae34dcd38b 100644 --- a/pkgs/development/beam-modules/build-mix.nix +++ b/pkgs/development/beam-modules/build-mix.nix @@ -29,9 +29,6 @@ let MIX_DEBUG = if enableDebugInfo then 1 else 0; HEX_OFFLINE = 1; - # stripping does not have any effect on beam files - dontStrip = true; - # add to ERL_LIBS so other modules can find at runtime. # http://erlang.org/doc/man/code.html#code-path # Mix also searches the code path when compiling with the --no-deps-check flag @@ -72,6 +69,10 @@ let runHook postInstall ''; + # stripping does not have any effect on beam files + # it is however needed for dependencies with NIFs like bcrypt for example + dontStrip = false; + passthru = { packageName = name; env = shell self; |