Closed thomasbach-dev closed 2 years ago
It's important to update the nixpkgs version then too.
You should use lts-18.16
and nix-shell --command 'niv update nixpkgs --branch nixos-21.11'
Cool, I already wanted to open a ticket requesting for a version bump in the nix machinery. I'll adapt things.
@NorfairKing What's the motive behind using 18.16? Is it because nix is pinned to this?
Is it because nix is pinned to this?
Yup.
One more thing related to this: there is a definition to generate a stack.yaml file https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator/blob/master/openapi3-code-generator/src/OpenAPI/Generate/IO.hs#L85 which uses 15.3 as a resolver. Should that be bumped too? (I actually think it should be dropped.)
This looks good to me :+1:
The bump on the generated stack.yaml is correct as well. We could drop it as I think it is not very useful in practice. Currently, it is used for the tests so I would leave it for now as it is not really a pain-point as far as I am concerned. Please correct me if it is for you.
With this we update to GHC 8.10.7. As described in the latest commit, I reran code generation for the
example
directory and golden tests. Everything was stable. So I guess we should be good here. :)