aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/src
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-14 04:29:02 +0000
committertv <tv@krebsco.de>2026-11-14 04:29:02 +0000
commitfe79e21268973b9dcebe428fe17482e20b5c6154 (patch)
tree07cd75f91bd0f37cada3e3ac6e57b80005de2de3 /pkgs/populate/src
parent2ddbb18906c19d351274b68e182839f1801f4ce9 (diff)
tests: pure evaluation
pure-lib evaluates krops' lib from a flake whose inputs are krops' sources and nixpkgs' lib, checking that mkTarget leaves the user and the host null, and evaluating sources of each type. pure-deploy, which is exhaustive, deploys with writeDeploy from a flake whose inputs are krops' and nixpkgs' sources, evaluating nixpkgs, with a target string. The inputs are the sources in the store, without .git, copied there during the tests' evaluation, which the VM shares with the host. The flakes lock them as tarballs, by their hashes, so Nix uses the store paths, without fetching them, or reading them, which a path: input would, all of nixpkgs on every evaluation. The VM can't build what writeDeploy makes, which needs building populate, so pure-deploy runs what the host built of the same arguments, evaluated alike, failing if pure evaluation makes another derivation. nixpkgs is a flake with lib and legacyPackages, without nixpkgs' configuration and overlays, which pure evaluation can't read, and the host's evaluation could. pure-lib is in the smoke test.
Diffstat (limited to 'pkgs/populate/src')
0 files changed, 0 insertions, 0 deletions