Skip to content

Releases

v0.7.0

Choose a tag to compare

@vic vic released this 12 Oct 21:39
d360050

What's Changed

  • feat: preferLocalBuild by @dtomvan in #110
  • Add Support for Git LFS on Inputs by @Jackaed in #116
  • feat: add tack lockfile backend by @xfo-0 in #120
  • feat: add support for shallow fetching inputs by @KP64 in #123
  • fix: avoid needless flake.nix/flake.lock rewrites by @vidhanio in #130
  • fix: updates Tack pin to v1.0.0 by @kalyanoliveira in #124
  • test: initializes npins lock fixture with npins by @kalyanoliveira in #126
  • Add first-class flake-edit follow support by @dnlzro in #133
  • chore: vic/flake-file -> denful/flake-file by @drupol in #135
  • fix: make check-flake-file cacheable across unrelated commits by @sini in #138
  • fix: let the formatter be configured by @drupol in #139
  • feat: exposes standalone bootstrap writer targets by @kalyanoliveira in #125
  • fix: enables documented bootstrap input defaults by @kalyanoliveira in #127
  • fix(npins): don't pin inputs that follow another input (#140) by @sini in #141
  • fix(write-flake): warn when flake.lock keeps a stale flake attribute (#114) by @sini in #142
  • feat: add lon and niv writers on a shared pin engine (#95) by @sini in #143
  • fix: quote attribute names in nixCode and stop tack dropping input attributes by @sini in #144
  • fix(pins): reconcile changed inputs, fail on unpinnable ones, keep URL attributes by @sini in #145
  • fix: repin the npins template, run backend CI on main, emit valid nixConfig names by @sini in #146
  • ci(unflake): prefetch nixpkgs into the store before write-unflake by @sini in #147
  • ci(unflake): run the unflake job on Nix 2.34.8 instead of prefetching nixpkgs by @sini in #148

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@vic vic released this 14 Apr 21:45
7d16dfa

What's Changed

  • change letter casing by @musjj in #86
  • implement granular style formatting by @musjj in #85
  • Style tweak by @musjj in #88
  • nixlock v3.1 by @vic in #89
  • feat(core): Add preProcess option to allow customizing inputs before giving to generator backend. by @vic in #90
  • Expose flake-file.apps as flake apps, not packages by @Adda0 in #92
  • Update nixpkgs URL for flake migration tutorial by @drupol in #93
  • Add "Flakeless Parts" template by @theutz in #96
  • ci: don't make template checks wait for everything else by @theutz in #97
  • feat: output write-* to packages also by @theutz in #98
  • fix: export write-lock with flakeless-parts by @theutz in #99
  • fix: remove unnecessary nixpkgs-lib input by @musjj in #101

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@vic vic released this 07 Mar 03:48
2345849

Flake output schemas powered by flake-file!

See the Traditional Flakes getting started guide. We also have a new templates/minimal showcasing the result of our bootstrap command:

Now the bootstrap command is simpler, just do:

mv flake.nix flake-file.nix # make your existing flake dynamic!
nix-shell https://github.com/vic/flake-file/archive/main.zip -A flake-file.sh --run bootstrap

Works on Lix, CppNix, DetNix, because it is just the Nix lib.types at work.

Checkout the template, change the hello output and run nix flake check, no new check derivation, no custom nix-runtime, just plain old nix modules.

A new write-lock command

Suggested by @drupol at Nix Discourse. This command detects the locking mechanism you are using and delegates to the corresponding write-* app.

Nixlock flake url schemes

Nixlock does not support flake url schemes, so flake-file translates our very common flake urls into the attrset needed for nixlock to work.

What's Changed

  • nixlock url schemes by @vic in #78
  • write-lock detects lock-file and runs corresponding app by @vic in #79
  • bootstrap command for traditional flakes. by @vic in #82
  • add templates/minimal showcasing flake output schemas by @vic in #83

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@vic vic released this 28 Feb 00:02
e54fbd4

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 ./testing

Each template provides a ./modules ready environment, eg: templates/nixlock.

What's Changed

  • remove nix-systems/systems, use lib instead 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

v0.3.0

Choose a tag to compare

@vic vic released this 13 Feb 09:08
5312958

flake-file v0.3.0 now supports stable Nix non-flakes environments by integrating with unflake, this means you can now define flake-file.inputs and have them reflected on npins or unflake.nix.

What's Changed

  • fix: use attrsOf anything instead of attrs by @vidhanio in #55
  • Change default formatter to nixfmt by @mightyiam in #54
  • Use mkDefault for dendritics flake-file.outputs by @Shawn8901 in #56
  • use nixpkgs-unstable channel by @vic in #58
  • Integrate with unflake for supporting non-flake environments. by @vic in #60

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@vic vic released this 21 Nov 06:52
9af20d5

What's Changed

  • Add support for submodules input attribute by @binarin in #40
  • Fix typos and update option docs in readme by @esselius in #41
  • Remove formatter.nix and nix-auto-follow from the Dendritic module by @teamwolfyta in #44
  • regen flake.nix files by @vic in #45
  • smaller flake files by collapsing single attrs by @vic in #46
  • fix diff order by @vic in #48
  • CI use cachix nix installer by @vic in #49
  • Fix: allow top-level empty follows by @vic in #50
  • Move from pkgs.system to pkgs.stdenv.hostPlatform.system by @vic in #51
  • breaking: dendritic module no longer provides den and flake-aspects by @vic in #52

New Contributors

Full Changelog: 0.1.0...v0.2.0

0.1.0

Choose a tag to compare

@vic vic released this 29 Oct 09:44
57b2a65

This is the first release. The library is feature complete for now, and can be used with confidence. main branch will be used for unstable version. We will be using semantic versioning for tags.

What's Changed

  • Add cute logo by @vic in #1
  • Include app on default module by @vic in #2
  • remove mightyiam/files dependency. by @vic in #3
  • fix: flake attributes order. by @vic in #6
  • Use same follows syntax as flake schema. by @vic in #7
  • Allow empty url on root input and have a follows. by @vic in #8
  • chore(regen): split into scripts. by @vic in #9
  • nothing but nix by @vic in #10
  • chore(devshell): Create a dev env to facilitate contributions. by @vic in #11
  • chore(readme): minor fixes by @vic in #12
  • re-enable allfollow. by @vic in #13
  • feat(prune-lock) Add flake-file.prune-lock.enable option. by @vic in #15
  • fix: remove allfollow input from dendritic/basic.nix by @vic in #16
  • fix: Inherited allfollow in flakeModules by @ginkogruen in #18
  • refactor: reorganize modules and update prune-lock API by @vic in #20
  • refactor: extract option definitions into separate files by @vic in #21
  • refactor!: move prune-lock logic out of write-flake. by @vic in #22
  • feat: Support flake-parts-builder templates by @vic in #23
  • feat: Support flake-parts-builder templates by @vic in #25
  • Readme by @vic in #26
  • Add nix-auto-follow as an allfollow alternative by @ginkogruen in #24
  • fix(readme): wrong path to templates/dendritic by @panchoh in #28
  • feat(inputs): add support for attribute representation by @HeitorAugustoLN in #27
  • docs: Clarify migration guide by @vorburger in #30
  • No templates lock by @vic in #34
  • Preserve follows bug by @vic in #35
  • dendritic template enables vic/den by @vic in #36
  • update inputs by @vic in #37
  • allow empty follows by @vic in #38

New Contributors

Full Changelog: https://github.com/vic/flake-file/commits/0.1.0