summaryrefslogtreecommitdiff
path: root/xmake/core/base/linuxos.lua
diff options
context:
space:
mode:
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