Closed wholikeel closed 2 months ago
Thanks so much for this! A few comments (I'm not very familiar with Nix overlays):
overlay.nix
you have _: prev: {...}
- is there a reason this doesn't follow the final: prev: {...}
syntax?.nix
files using AlejandraNo worries!
* In `overlay.nix` you have `_: prev: {...}` - is there a reason this doesn't follow the `final: prev: {...}` syntax?
final
wouldn't be bound in the proceeding expression, so I believe its convention to name unused function parameters as _
.
* Please format the `.nix` files using [Alejandra](https://github.com/kamadorueda/alejandra%60) * Please squash these commits to a single commit
:+1:
Thanks for the explanation and for formatting/squashing!
Adds an
overlay.nix
that is provided as an output fromflake.nix
.Allows using an up-to-date version of
tex-fmt
in end user's Nix flakes without depending onnixpkgs-unstable
.Using overlays creates a much cleaner
flake.nix
compared to using the package output directly.Example: