Nix flake evaluation regression testing
Find a file
Raito Bezarius 59c41f90e3 feat: cleanup for autonomous runs
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2025-11-10 23:47:40 +01:00
.gitignore feat: cleanup for autonomous runs 2025-11-10 23:47:40 +01:00
eval-all.sh feat: cleanup for autonomous runs 2025-11-10 23:47:40 +01:00
eval-flake.nix Initial version 2023-11-07 14:05:18 +01:00
eval-flake.sh feat: cleanup for autonomous runs 2025-11-10 23:47:40 +01:00
get-flake-list.sh feat: cleanup for autonomous runs 2025-11-10 23:47:40 +01:00
README.md Update flake-regressions-data repo URL 2024-06-21 15:40:57 +02:00

Scripts to generate/run flake regression tests.

Prerequisites

Get the regression data:

# git clone git@github.com:NixOS/flake-regressions-data.git tests

Running a version of Nix against the regression test suite

Ensure that the desired version of nix is in $PATH, e.g.

# nix shell nix/2.18.1

Run the test suite:

# rm tests/*/*/*/done
# ./eval-all.sh

Updating the test suite

Optionally get new public flakes from FlakeHub:

# ./get-flake-list.sh

Then regenerate the test suite:

# rm tests/*/*/*/done
# REGENERATE=1 ./eval-all.sh
# ./commit-all.sh
# (cd tests && git commit -a && git push)