v0.4.0
flake-file now supports several fetch/locking mechanisms besides Nix Flakes: unflake, npins, nixlock.
Each of them has a corresponding flakeModule.<name> and template.
Also, each of them provides an app write-flake/write-unflake/write-npins/write-nixlock which can be
called directly by our new Bootstrap nix-shell.
That means people can try any flake-file backend without compromise, you just need a flake.nix file:
# This example uses some flake.nix of yours and uses nixlock on it:
mkdir testing
nix-shell https://github.com/vic/flake-file/archive/refs/heads/main.zip \
-A flake-file.sh --arg modules /some/flake.nix --run write-nixlock --argstr outdir ./testingEach template provides a ./modules ready environment, eg: templates/nixlock.
What's Changed
- remove
nix-systems/systems, uselibinstead by @drupol in #62 - npins generator and template. by @vic in #63
- test for tags for CI npins and unflake by @vic in #65
- Add default.nix for bootstrapping by @vic in #66
- docs by @vic in #68
- bootstrap can now take a target directory by @vic in #69
- bootstrap docs by @vic in #70
- test npins transitive deps by @vic in #71
- feat: add deps backend + inputs-lib shared helpers by @vic in #72
- remove deps backend by @vic in #74
- move bootstrap into modules by @vic in #73
- move npins bash to file by @vic in #75
- Support nixlock by @vic in #76
New Contributors
Full Changelog: v0.3.0...v0.4.0