From bbf8345289c36539c299c6d633a85d16285489d3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 30 Jul 2024 13:14:06 +0200 Subject: ... --- system-profiles/core/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system-profiles/core/default.nix') diff --git a/system-profiles/core/default.nix b/system-profiles/core/default.nix index 0859d707..6aee221f 100644 --- a/system-profiles/core/default.nix +++ b/system-profiles/core/default.nix @@ -102,7 +102,7 @@ in { }; nix = { - package = pkgs.nixUnstable; + package = if builtins.hasAttr "latest" pkgs.nixVersions then pkgs.nixVersions.latest else pkgs.nixUnstable; settings = { sandbox = true; allowed-users = [ "*" ]; -- cgit v1.2.3