From 7d236443e298850f9faf12b5966f3bf570be2215 Mon Sep 17 00:00:00 2001 From: zack Date: Thu, 11 Sep 2025 21:57:29 -0400 Subject: added nixos to linuxos.name --- xmake/core/base/linuxos.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmake/core/base/linuxos.lua') 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 -- cgit v1.3.1