Skip to content

Commit 7d23644

Browse files
committed
added nixos to linuxos.name
1 parent 3d60026 commit 7d23644

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xmake/core/base/linuxos.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ function linuxos.name()
110110
name = "opensuse"
111111
elseif os_release:find("manjaro", 1, true) then
112112
name = "manjaro"
113+
elseif os_release:find("nixos", 1, true) then
114+
name = "nixos"
113115
end
114116
end
115117
end

0 commit comments

Comments
 (0)