about summary refs log tree commit diff
path: root/external/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'external/default.nix')
-rw-r--r--external/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/default.nix b/external/default.nix
index ee0bf94fa2c7..6e1dce11140b 100644
--- a/external/default.nix
+++ b/external/default.nix
@@ -71,7 +71,7 @@ let
       };
 
       binArgs = args // {
-        name = last ([ path ] ++ entry.locator);
+        name = (last ((lib.splitString "/" path) ++ entry.locator));
       };
     in if entry.isCommand then (program binArgs) else (package libArgs);