We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to build static executable from my stack project here.
It uses lts-13.26 so the this line shall not change:
lts-13.26
static-haskell-nix/static-stack2nix-builder-example/default.nix
Line 9 in 95fa110
And my only change is this line, by filling cabalPackageName with purescript-python.
purescript-python
Line 8 in 95fa110
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
genNixFile: No support for archive package locations
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.
export LC_ALL=en_US.UTF-8
Before each building I cleanup things and retry $(nix-build ...)
$(nix-build ...)
The text was updated successfully, but these errors were encountered:
I believe this is fiixed with current stack2nix updated in PR #98, please re-open or ping me if you find it to happen still.
stack2nix
Sorry, something went wrong.
No branches or pull requests
I'm trying to build static executable from my stack project here.
It uses
lts-13.26
so the this line shall not change:static-haskell-nix/static-stack2nix-builder-example/default.nix
Line 9 in 95fa110
And my only change is this line, by filling cabalPackageName with
purescript-python
.static-haskell-nix/static-stack2nix-builder-example/default.nix
Line 8 in 95fa110
It seems due to this:
I got
genNixFile: No support for archive package locations
, so I change it towhich is the version closest to their master branch.
Finally I got this error and cannot work it out after a while:
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 ...)
The text was updated successfully, but these errors were encountered: