Open soupglasses opened 1 year ago
Also came across this. Tried putting it into a temp file, changing permissions/ownership of the temp file, and other random stabs in the dark.
What fixed it for me is having the file be called exactly statix.toml
. So, instead of using writeText "statix.toml" "..."
I had to use writeTextDir "statix.toml" "..."
.
This is consistent with paths outside of the nix store. If I do statix check -c ./foo.toml
, it also gets ignored.
When using
--config
to configure statix, it will silently ignore the config file completely if it is inside of the/nix/store
. See the example below: