about summary refs log tree commit diff stats
path: root/home-manager/config/lf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/config/lf/default.nix')
-rw-r--r--home-manager/config/lf/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix
index f01fb376..9f0aaf8c 100644
--- a/home-manager/config/lf/default.nix
+++ b/home-manager/config/lf/default.nix
@@ -10,11 +10,11 @@
     ...
   }:
     sysLib.makeShellScriptWithLibrary {
-      name = "${file}";
+      name = "${builtins.baseNameOf file}";
       script = file;
       inherit dependencies;
     }
-    + "/bin/${file}";
+    + "/bin/${builtins.baseNameOf file}";
   shell = {
     file,
     dependencies,