summaryrefslogtreecommitdiff
path: root/xmake/core/base/linuxos.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-09-12 22:50:06 +0800
committerGitHub <[email protected]>2025-09-12 22:50:06 +0800
commite6c092279a2306dc56567d034013c5f0ff4e4b15 (patch)
treea02239bf9c098de4cbba6ad5e7edbd3f94685ded /xmake/core/base/linuxos.lua
parente641d139eef96d83222719a5f4f349edd87f1c9a (diff)
parent7d236443e298850f9faf12b5966f3bf570be2215 (diff)
Merge pull request #6791 from ZZBaron/feature/nix-support
Add Nix Package Manager Support
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