Change checkOverrideNixVersion for NixOS 24.05

This commit is contained in:
Robert Hensing 2024-06-03 16:42:11 +02:00
parent 6067525162
commit 449e4b9232

View File

@ -33,7 +33,9 @@ let
checkOverrideNixVersion = { pkgs, lib, ... }: {
# pkgs.nix: The new Nix in this repo
# We disallow it, to make sure we don't accidentally use it.
system.forbiddenDependenciesRegex = lib.strings.escapeRegex "nix-${pkgs.nix.version}";
system.forbiddenDependenciesRegexes = [
(lib.strings.escapeRegex "nix-${pkgs.nix.version}")
];
};
in