Fork 0
Template repository to work with nix flakes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

789 B

Nix flake


This comes with a self-contained redo toolchain to help in working with the flake. It basically deploys any input flake into the tmp directory for easier access.

redo targets under tmp/ come in three kinds:

will remove all build products under tmp/
will make sure a store path to <flake> exists and puts an indirect root into tmp/<flake>.
will make sure a store path to <flake> exists and will copy its contents to tmp/.<flake>.rw and will link to it from tmp/<flake>.rw. (Rationale: On Linux, directories cannot denote reliable targets due to their non-trivial relation to modification time.)