Closed fumieval closed 4 months ago
@fumieval we plan on not supporting large-records
going forward since it doesn't seem to provide any benefit and is creating backwards compatibility issues. I'm going to close this issue. Feel free to re-open if you feel like there is still a problem that needs to be addressed.
Please note the comments by @riz0id above about long term issues. As to the short term: thanks to recent fixes, nix-build
does work at the current HEAD
of master
with both dhall and large-records enabled and GHC 9.2.8 or 9.0.2:
$ git rev-parse HEAD
bec9d40e2767143deed5b2d451197191f1d8c7d5
$ nix-build --argstr compiler ghc902 --arg enableDhall true --arg enableSwagger false --arg enableLargeRecords true
/nix/store/cg7y9bga64mdcv0mxd6l2bf4ivf3l73b-proto3-suite-base-0.8.0
/nix/store/ksz1ssjhlkq603631zbmxn45x06mw7kj-proto3-suite-base-0.8.0
$ nix-build --argstr compiler ghc928 --arg enableDhall true --arg enableSwagger false --arg enableLargeRecords true
/nix/store/11pg1cyj9vzv4grphr98xv3wyrc9b3sf-proto3-suite-base-0.8.0
/nix/store/7f90pkqlkxgms2yj8d4qy65nidcb1y8z-proto3-suite-base-0.8.0
That said, there are some problems with the current nix-shell
environment when using GHC 9.2.8 or 9.0.2. For interactive development in a nix-shell
environment you might have better luck with GHC 9.4.8 or later, though probably there's a way to jailbreak or otherwise modify the dependencies of the interactive environment in order to make them build with GHC 9.2.*.
I got the following errors (with
flags: -dhall -large-records
)