summary refs log tree commit diff
path: root/pkgs/servers/nosql/immudb/default.nix
diff options
context:
space:
mode:
authorMostly Void <dit7ya@users.noreply.github.com>2022-09-16 11:20:23 +0530
committerGitHub <noreply@github.com>2022-09-16 11:20:23 +0530
commit984aa72e0fa3da8b107daf9169730077815bfe04 (patch)
tree715fa034c22e36eac180c59c71104d5d64772de8 /pkgs/servers/nosql/immudb/default.nix
parent53769ebc79e6de6c6bda995277dc7f7b63ddb421 (diff)
Apply suggestions from code review
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
Diffstat (limited to 'pkgs/servers/nosql/immudb/default.nix')
-rw-r--r--pkgs/servers/nosql/immudb/default.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/servers/nosql/immudb/default.nix b/pkgs/servers/nosql/immudb/default.nix
index 95a8299ddaf31..a2f56f4f45c9c 100644
--- a/pkgs/servers/nosql/immudb/default.nix
+++ b/pkgs/servers/nosql/immudb/default.nix
@@ -11,7 +11,6 @@ let
     url = "https://github.com/codenotary/immudb-webconsole/releases/download/v${webconsoleVersion}/immudb-webconsole.tar.gz";
     sha256 = "sha256-hFSvPwSRXyrSBYktTOwIRa1+aH+mX/scDYDokvZuW1s=";
   };
-
 in
 buildGoModule rec {
   pname = "immudb";
@@ -47,14 +46,14 @@ buildGoModule rec {
   ];
 
   postInstall = ''
-      mkdir -p share/completions
-      for executable in immudb immuclient immuadmin; do
-          for shell in bash fish zsh; do
-            $out/bin/$executable completion $shell > share/completions/$executable.$shell
-            installShellCompletion share/completions/$executable.$shell
-          done
-        done
-    '';
+    mkdir -p share/completions
+    for executable in immudb immuclient immuadmin; do
+      for shell in bash fish zsh; do
+        $out/bin/$executable completion $shell > share/completions/$executable.$shell
+        installShellCompletion share/completions/$executable.$shell
+      done
+    done
+  '';
 
   meta = with lib; {
     description = "Immutable database based on zero trust, SQL and Key-Value, tamperproof, data change history";