about summary refs log tree commit diff
path: root/pkgs/development/beam-modules/build-rebar3.nix
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2021-06-03 21:58:02 +0900
committerRaphael Megzari <raphael@megzari.com>2021-06-03 22:15:31 +0900
commitaf0844c7a2992b7d653a879e1cb1f7257e5957c0 (patch)
treec7df050d37a4517b34b3c6fc76c320d9d48c3096 /pkgs/development/beam-modules/build-rebar3.nix
parentbd683bb1ef7a96fbf2fb2e7d45e667009bd99791 (diff)
beam: nixpkgs-fmt
Diffstat (limited to 'pkgs/development/beam-modules/build-rebar3.nix')
-rw-r--r--pkgs/development/beam-modules/build-rebar3.nix22
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