cabal2nix
cabal2nix copied to clipboard
Change boolattr to just always write out
I expect this will quite significantly inflate the size of the already huge hackage-packages.nix in nixpkgs, so it may not be a good idea even though it has some merits.
Can we make it so the writer can be injected into cabal2nix'' somehow? I'm using it via library call.
I don't understand what you mean, could you clarify?
The Pretty Derivation instance I can't alter without forking. Maybe this should not be an instance, but an explicit parameter to cabal2nix' instead. Then I can define my own pretty function for Derivation that does what I want.