about summary refs log tree commit diff stats
path: root/home-manager/config/lf
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-25 17:22:59 +0100
committerene <ene@sils.li>2023-02-25 17:27:27 +0100
commit3b20d3b03fc88113190e99bc9e4ecdd5fe4ac56a (patch)
tree91a7261c11f237becac3eec1f92a4e784b382c4f /home-manager/config/lf
parentFix(packages): Use a custom function for packaging ll (diff)
downloadnixos-config-3b20d3b03fc88113190e99bc9e4ecdd5fe4ac56a.tar.gz
nixos-config-3b20d3b03fc88113190e99bc9e4ecdd5fe4ac56a.zip
Fix(lf): change name for cmds
Diffstat (limited to '')
-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,