goodbyekansas / nedryland

Nedryland is a collection of utilities and a build system for declaring, building and deploying microservice solutions.
https://goodbyekansas.github.io/nedryland/
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

🐛 Make checks.nixfmt work from everywhere #327

Closed simonrainerson closed 8 months ago

simonrainerson commented 8 months ago

If $nixFiles were expressed as relative to the root of the project, nixfmt would fail when ran from a sub directory. Now cd to the root first which will work for both relative and absolute paths.

Since nix (and thus we) have not committed to using flakes this instead uses git to find the root of the project.