about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 35e02d45..20088dc4 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -15,7 +15,7 @@
       install -m755 ${script} -D "$out/bin/${name}"
       sed -i 's|%SHELL_LIBRARY_PATH|${shell-library}/lib|' "$out/bin/${name}"
       patchShebangs "$out/bin/${name}"
-      wrapProgram "$out/bin/${name}" --prefix PATH : ${pkgs.lib.makeBinPath dependencies}
+      wrapProgram "$out/bin/${name}" --set PATH ${pkgs.lib.makeBinPath dependencies}
     '';
 
   makeShellScriptWithLibraryUnwrapped = {