Closed
Description
I'm trying to build static executable from my stack project here.
It uses lts-13.26
so the this line shall not change:
And my only change is this line, by filling cabalPackageName with purescript-python
.
It seems due to this:
extra-deps:
- github: purescript/purescript
commit: ed130c78b708ff55cf4a80b126a1bd3ba5d80eb9
I got genNixFile: No support for archive package locations
, so I change it to
extra-deps:
- purescript-0.13.6
which is the version closest to their master branch.
Finally I got this error and cannot work it out after a while:
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 /home/redy/+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 cabal://pushbullet-types-0.4.1.0
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 cabal://pusher-http-haskell-1.5.1.9
stack2nix: <stderr>: commitBuffer: invalid argument (invalid character)
This is strange, because this seems to be a solved issue: input-output-hk/stack2nix#150 .
I also tried adding export LC_ALL=en_US.UTF-8
before building.
Before each building I cleanup things and retry $(nix-build ...)
Metadata
Metadata
Assignees
Labels
No labels