Release 0.7.0: Add flake validator module
Summary
Release 0.7.0 adds a new flake validator module.
Changes in 0.7.0
- Add new
flakevalidator module combining flake-lock and flake-show validation - Creates two separate CI jobs for better granularity:
- flake-lock: Ensures flake.lock is up to date
-
flake-show: Validates
nix flake showsucceeds (catches evaluation errors)
- Optional
allowImportFromDerivationflag (defaults to false) - Import via
inputs.gitlab-ci.modules.gitlab-ci.flake
Example Usage
{
perSystem = { ... }: {
gitlab.ci = {
enable = true;
imports = [ inputs.gitlab-ci.modules.gitlab-ci.flake ];
flake = {
enable = true;
allowImportFromDerivation = false; # optional, defaults to false
};
};
};
}
Rationale
The flake validator helps catch both lock file drift and flake evaluation errors early in CI, ensuring the flake stays healthy.