mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
Change checkOverrideNixVersion for NixOS 24.05
This commit is contained in:
parent
6067525162
commit
449e4b9232
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ let
|
||||||
checkOverrideNixVersion = { pkgs, lib, ... }: {
|
checkOverrideNixVersion = { pkgs, lib, ... }: {
|
||||||
# pkgs.nix: The new Nix in this repo
|
# pkgs.nix: The new Nix in this repo
|
||||||
# We disallow it, to make sure we don't accidentally use it.
|
# 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
|
in
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue