cabal2nix icon indicating copy to clipboard operation
cabal2nix copied to clipboard

Change boolattr to just always write out

Open locallycompact opened this issue 2 years ago • 4 comments

locallycompact avatar Oct 31 '22 15:10 locallycompact

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.

sternenseemann avatar Oct 31 '22 16:10 sternenseemann

Can we make it so the writer can be injected into cabal2nix'' somehow? I'm using it via library call.

locallycompact avatar Nov 01 '22 01:11 locallycompact

I don't understand what you mean, could you clarify?

sternenseemann avatar Nov 01 '22 11:11 sternenseemann

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.

locallycompact avatar Nov 01 '22 14:11 locallycompact