Repository navigation
haskellPackages: remove myself as maintainer from reflex-frp and obsidian packages - #477850
Conversation
|
Please run |
|
Oops, lost that habit. Done |
|
Hmmm, treefmt doesn't like... the entire file? |
|
You probably didn't run the script from within a |
cc363fc to
2096650
Compare
Confirmed, running it again and looking more carefully I see
Hmm then should it be present in the shebang? |
No, nixfmt / treefmt are not in the shebang on purpose, because they would (potentially) not get the right configuration along, because that's only available via treefmt in nix-shell. There have been some PRs removing all these from the shebangs, with discussion about it, if you want to know more. The expectation is, that you run these things from inside a |
|
It is a usability pitfall, I have to admit. Maybe we should load them on demand if they aren't in PATH… |
|
For this specific case, I think a clear error message would have helped. Something that checks whether nixfmt is available in PATH at the beginning of the script and if it's not just error out with an explanation of what to do (run nix-shell). |
Life is too short for un-cooperative upstreams
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.