builder for '/nix/store/qgpjlq7aaqj4s85bihb55rwgrxvxfr74-hpack-0.29.7.drv' failed with exit code 1; last 10 log lines:
11 | import qualified Distribution.SPDX.License as SPDX
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Hpack/License.hs:12:1: error:
Could not find module ‘Distribution.Parsec.Class’
Perhaps you meant Distribution.ParseUtils (from Cabal-2.0.1.0)
Use -v to see a list of the files searched for.
|
12 | import Distribution.Parsec.Class (eitherParsec)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cannot build derivation '/nix/store/yrr61jchkp3dphwhlg3r6xacbmhchq4g-hcoord-2.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sq6mgsp89d4ap0p52gwh0mbfpmx96nhk-hcoord-utm-2.0.0.drv': 1 dependencies couldn't be built
I now prefer to use package.dhall to generate the .cabal file and commit this to source control. This would drop the need for nix to build hpack and remove libraryToolDepends = [ hpack ]; from the hcoord derivation.
Using
package.yaml
is problematic for me building projects depending on hcoord in nix;I now prefer to use
package.dhall
to generate the.cabal
file and commit this to source control. This would drop the need for nix to buildhpack
and removelibraryToolDepends = [ hpack ];
from the hcoord derivation.