summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzbaron <[email protected]>2025-09-21 14:20:03 -0400
committerzzbaron <[email protected]>2025-09-21 14:20:03 -0400
commit5c25b34bed9b9e1fb6a5bb1f2ce1c10c94d9cb6f (patch)
tree8e2a22f81be8e4e4bc640e705a286a2ff7c3d0ec
parent975a7c38894f6a8536c34df3c285a4f7bfb88e0d (diff)
fixed nix prefix removal
-rw-r--r--xmake/modules/package/manager/nix/find_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/nix/find_package.lua b/xmake/modules/package/manager/nix/find_package.lua
index cc04bc898..2989930f0 100644
--- a/xmake/modules/package/manager/nix/find_package.lua
+++ b/xmake/modules/package/manager/nix/find_package.lua
@@ -636,7 +636,7 @@ function main(name, opt)
local actual_name = name
local force_nix = false
if name:startswith("nix::") then
- actual_name = name:sub(6) -- Remove "nix::" prefix
+ actual_name = name:sub(5) -- Remove "nix::" prefix
force_nix = true
end