about summary refs log tree commit diff
path: root/pkgs/applications/version-management/lab/default.nix
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-01-26 13:26:36 +0100
committerMatthieu Coudron <teto@users.noreply.github.com>2023-01-26 15:37:33 +0100
commit9b914fc67933aaa7caa227dbb8360feb11fc9b5c (patch)
treef1ecb7471fc1694997053f2fae7a1bea28189dd3 /pkgs/applications/version-management/lab/default.nix
parent5b310f272b7f043ec25b19f738c07ae59a0b1203 (diff)
Apply suggestions from code review
Diffstat (limited to 'pkgs/applications/version-management/lab/default.nix')
-rw-r--r--pkgs/applications/version-management/lab/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/version-management/lab/default.nix b/pkgs/applications/version-management/lab/default.nix
index f79b59b56396d..38531775b99e9 100644
--- a/pkgs/applications/version-management/lab/default.nix
+++ b/pkgs/applications/version-management/lab/default.nix
@@ -22,16 +22,14 @@ buildGoModule rec {
   ldflags = [ "-s" "-w" "-X main.version=${version}" ];
 
   postInstall = ''
-    # create shell completions before wrapProgram so that lab detects the right
-    # path for itself
+    # create shell completions before wrapProgram so that lab detects the right path for itself
     installShellCompletion --cmd lab \
       --bash <($out/bin/lab completion bash) \
       --fish <($out/bin/lab completion fish) \
       --zsh <($out/bin/lab completion zsh)
     # make xdg-open overrideable at runtime
     wrapProgram $out/bin/lab \
-      --prefix PATH ":" "${lib.makeBinPath [ git ]}" \
-      --suffix PATH ":" "${lib.makeBinPath [ xdg-utils ]}"
+      --suffix PATH ":" "${lib.makeBinPath [ git xdg-utils ]}"
   '';
 
   meta = with lib; {