Skip to content

NixOS/flake-regressions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Nix flake evaluation regression testing

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published