summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-02-26 01:23:51 -0500
committerSeth Flynn <[email protected]>2025-02-26 02:13:40 -0500
commit99b8b8320a62da18655f1c5f1f67e62a7ce25af5 (patch)
treeda3c0b8695791dfd463046a38f0749783bf21728
parentfb2555f305158b7cf0f39120c781abdfbb1c5bbe (diff)
modules/nix: re-enable repl-flake on all lix versions
I thought it wasn't needed anymore for some reason, womp womp
-rw-r--r--modules/shared/defaults/nix.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/shared/defaults/nix.nix b/modules/shared/defaults/nix.nix
index d0c5049..f5a872f 100644
--- a/modules/shared/defaults/nix.nix
+++ b/modules/shared/defaults/nix.nix
@@ -8,13 +8,10 @@
let
inherit (pkgs.stdenv.hostPlatform) isLinux;
- # TODO: remove this nonsense when all implementations remove repl-flake
+ # TODO: Remove this nonsense when all implementations remove repl-flake
hasReplFlake =
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"
- && lib.versionOlder config.nix.package.version "2.91.0"
- ); # but not until lix 2.91
+ || lib.versionAtLeast config.nix.package.version "2.90.0"; # but not in lix (yet, https://gerrit.lix.systems/c/lix/+/2147)
hasAlwaysAllowSubstitutes = lib.versionAtLeast config.nix.package.version "2.19.0";
in