diff options
author | happysalada <raphael@megzari.com> | 2021-06-03 21:58:02 +0900 |
---|---|---|
committer | Raphael Megzari <raphael@megzari.com> | 2021-06-03 22:15:31 +0900 |
commit | af0844c7a2992b7d653a879e1cb1f7257e5957c0 (patch) | |
tree | c7df050d37a4517b34b3c6fc76c320d9d48c3096 /pkgs/development/beam-modules/build-rebar3.nix | |
parent | bd683bb1ef7a96fbf2fb2e7d45e667009bd99791 (diff) |
beam: nixpkgs-fmt
Diffstat (limited to 'pkgs/development/beam-modules/build-rebar3.nix')
-rw-r--r-- | pkgs/development/beam-modules/build-rebar3.nix | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/development/beam-modules/build-rebar3.nix b/pkgs/development/beam-modules/build-rebar3.nix index dc882a1331884..b66dc535ce031 100644 --- a/pkgs/development/beam-modules/build-rebar3.nix +++ b/pkgs/development/beam-modules/build-rebar3.nix @@ -1,16 +1,20 @@ { stdenv, writeText, erlang, rebar3WithPlugins, openssl, libyaml, lib }: -{ name, version +{ name +, version , src , setupHook ? null -, buildInputs ? [], beamDeps ? [], buildPlugins ? [] +, buildInputs ? [ ] +, beamDeps ? [ ] +, buildPlugins ? [ ] , postPatch ? "" , installPhase ? null , buildPhase ? null , configurePhase ? null -, meta ? {} +, meta ? { } , enableDebugInfo ? false -, ... }@attrs: +, ... +}@attrs: with lib; @@ -22,9 +26,9 @@ let }; shell = drv: stdenv.mkDerivation { - name = "interactive-shell-${drv.name}"; - buildInputs = [ drv ]; - }; + name = "interactive-shell-${drv.name}"; + buildInputs = [ drv ]; + }; customPhases = filterAttrs (_: v: v != null) @@ -42,7 +46,7 @@ let inherit src; setupHook = writeText "setupHook.sh" '' - addToSearchPath ERL_LIBS "$1/lib/erlang/lib/" + addToSearchPath ERL_LIBS "$1/lib/erlang/lib/" ''; postPatch = '' @@ -77,4 +81,4 @@ let }; } // customPhases); in - fix pkg +fix pkg |