Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 675 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 675 Bytes

Scripts to generate/run flake regression tests.

Prerequisites

Get the regression data:

# git clone [email protected]: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)