Commit Graph

6 Commits

Author SHA1 Message Date
Daylin Morgan 22519a5a2d
chore: specify formatter in flake 2024-03-31 11:15:54 -05:00
Jacob Birkett 80c347ef1c
Clean up the Nix flake, recommended practices, provide overlay (#6)
* flake: update description

* flake: add alejandra as formatter

* flake: format nix code

* flake: make systems overrideable

* flake: replace forAllSystems with eachSystem

* flake: inherit lib at top level

* flake: move usages of with to smallest scopes

* flake: introduce overlay

* flake: package: remove needless unpackPase override

* flake: devShell: replace buildInputs with packages

* chore: move alejandra to pre-commit-hook

* chore: inherit from nixpkgs.lib not nixpkgs

* chore: remove some lets add others

* chore: change mkShell back to buildInputs

---------

Co-authored-by: Daylin Morgan <daylinmorgan@gmail.com>
2024-02-10 14:36:03 -06:00
Daylin Morgan 569b5a3569
chore: use only ruff 2024-01-30 20:34:03 -06:00
Daylin Morgan 2a0e39720f
feat: upgrade to nf v3.0.0 2023-05-02 16:10:49 -05:00
Daylin Morgan cdb6bacf37
build: drop flake8 for ruff and update pre-commit repos 2023-03-20 01:40:55 -05:00
Daylin Morgan 916e85c67c chore: switch to pre-commit 2023-01-07 10:16:51 -06:00