diff options
| author | ruki <[email protected]> | 2025-09-12 22:50:06 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-12 22:50:06 +0800 |
| commit | e6c092279a2306dc56567d034013c5f0ff4e4b15 (patch) | |
| tree | a02239bf9c098de4cbba6ad5e7edbd3f94685ded /xmake/core/base/linuxos.lua | |
| parent | e641d139eef96d83222719a5f4f349edd87f1c9a (diff) | |
| parent | 7d236443e298850f9faf12b5966f3bf570be2215 (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.lua | 2 |
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 |
