Open
Description
I have a package where both package.yaml
and .cabal
are committed into the repository (as recommended nowadays). When I try to build it with haskell.nix
, I get:
<pkgname>.cabal was generated with a newer version of hpack, please upgrade and try again.
From a quick look, it seems that there is some code that is meant to call hpack
only if there is no .cabal
file around, but, I guess, it does something else.
I have worked it around for now by doing:
{
pkgname.cabal-generator = pkgs.lib.mkForce null;
}