Skip to content

Commit fd46279

Browse files
Fail evaluation once rainix nixpkgs cacert catches up with the pin
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 109a9b7 commit fd46279

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎os.nix‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,13 @@ in
197197
"ssl/trust-source".source = lib.mkForce "${cacert.p11kit}/etc/ssl/trust-source";
198198
};
199199

200+
assertions = [
201+
{
202+
assertion = lib.versionOlder pkgs.cacert.version cacert.version;
203+
message = "rainix nixpkgs cacert ${pkgs.cacert.version} has caught up with the pinned cacert ${cacert.version}; remove the nixpkgs-cacert input, the /etc CA overrides and the nix-daemon CURL_CA_BUNDLE override.";
204+
}
205+
];
206+
200207
networking.firewall = {
201208
enable = true;
202209
allowedTCPPorts = [

0 commit comments

Comments
 (0)