Scripts to generate/run flake regression tests.
Get the regression data:
# git clone [email protected]:NixOS/flake-regressions-data.git tests
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
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)