From 4f51d72266d2e07322df78259b29d55b14c72911 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 19 Jul 2024 02:23:06 -0400 Subject: modules/nix: fix lix version comparison according to `lib.versionAtLeast` `2.90.0` >= `2.90.0-rc1`, but the opposite is true :/ am i too tired to understand how this is actually right? or is this incorrect? who knows --- modules/shared/base/nix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/shared/base') diff --git a/modules/shared/base/nix.nix b/modules/shared/base/nix.nix index dd94939..f3de990 100644 --- a/modules/shared/base/nix.nix +++ b/modules/shared/base/nix.nix @@ -34,7 +34,7 @@ in # TODO: remove this nonsense when all implementations remove repl-flake ++ lib.optional ( lib.versionOlder config.nix.package.version "2.22.0" # repl-flake was removed in nix 2.22.0 - || lib.versionAtLeast config.nix.package.version "2.90.0-rc1" # but not in lix yet + || lib.versionAtLeast config.nix.package.version "2.90.0" # but not in lix yet ) "repl-flake"; trusted-substituters = [ "https://getchoo.cachix.org" ]; -- cgit v1.2.3