summaryrefslogtreecommitdiff
path: root/xmake/core/base/linuxos.lua
diff options
context:
space:
mode:
authorzack <[email protected]>2025-09-11 21:57:29 -0400
committerzack <[email protected]>2025-09-11 21:57:29 -0400
commit7d236443e298850f9faf12b5966f3bf570be2215 (patch)
tree9f92c5852789e466f62697a5d4b5db99396fd88f /xmake/core/base/linuxos.lua
parent3d600264dc2ffab5deffc04237dba407deff6245 (diff)
added nixos to linuxos.name
Diffstat (limited to 'xmake/core/base/linuxos.lua')
-rw-r--r--xmake/core/base/linuxos.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/base/linuxos.lua b/xmake/core/base/linuxos.lua
index 649c11a39..238502856 100644
--- a/xmake/core/base/linuxos.lua
+++ b/xmake/core/base/linuxos.lua
@@ -110,6 +110,8 @@ function linuxos.name()
name = "opensuse"
elseif os_release:find("manjaro", 1, true) then
name = "manjaro"
+ elseif os_release:find("nixos", 1, true) then
+ name = "nixos"
end
end
end