clan/checks: fix clanLib not checking

This commit is contained in:
Johannes Kirschbauer
2025-10-28 11:25:20 +01:00
parent 183817b769
commit b7508b2b43
4 changed files with 29 additions and 17 deletions

View File

@@ -39,21 +39,6 @@ in
};
modules = [
clan-core.modules.clan.default
{
checks.minNixpkgsVersion = {
assertion = lib.versionAtLeast nixpkgs.lib.version "25.11";
message = ''
Nixpkgs version: ${nixpkgs.lib.version} is incompatible with clan-core. (>= 25.11 is recommended)
---
Your version of 'nixpkgs' seems too old for clan-core.
Please read: https://docs.clan.lol/guides/nixpkgs-flake-input
You can ignore this check by setting:
clan.checks.minNixpkgsVersion.ignore = true;
---
'';
};
}
];
};
# Important: !This logic needs to be kept in sync with lib.clan function!