-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal2nix prevents nix flake show
(IFD)
#140
Comments
Unfortunately not really fixable nicely here, this is a Nix bug: NixOS/nix#4265 |
We could commit the cabal2nix output.. |
Yeah that would work, it's just not nice, since it requires manual updates (or setting up automated ones). I don't think that's worth it for a bug that should really be fixed in Nix. |
For the sake of having this formatter be adopted by anyone, I wouldn't be waiting for Nix to solve this particular issue for us. It's been an issue for quite some time now, and I can't say "run |
Also prevents |
I would also like to see IFD not being fully required as it prevents usage in hydra. |
Fair enough, let's reconsider! |
Note that this package is already in nixpkgs without IFD via hackage |
This is actually blocking my ability to use Results in Not sure if this specifically is a Nix issue or a nixfmt issue, or one that I can work around, but it's really blocking my attempt to adopt nixfmt :/ |
@remi-gelinas Hmm I just tried it on an aarch64-darwin machine, but couldn't reproduce the problem. I also don't see why it would need to build anything for |
I just did an isolated reproduction attempt with a barebones flake like so:
and it works correctly, totally as expected. I am assuming the problem lies somewhere in my usage of |
The formatter is specified like this:
When you run
nix flake show
:The text was updated successfully, but these errors were encountered: