Skip to content
New issue

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

Build of stack project failing #112

Open
m-col opened this issue Dec 18, 2021 · 0 comments
Open

Build of stack project failing #112

m-col opened this issue Dec 18, 2021 · 0 comments

Comments

@m-col
Copy link

m-col commented Dec 18, 2021

Hi there. I am trying to build a small stack project (here, 'static' branch) following the example project. Unfortunately when I try to build, I get this error:

...
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-9.0.1 cabal://zstd-0.1.3.0
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-9.0.1 cabal://ztail-1.2.0.2
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-9.0.1 /tmp/gitserve/gitserve/
stack2nix: post-process: cannot replace name binding Bind (Identifier "lua") (Path [Identifier "pkgs",Identifier "lua"]) by Bind (Identifier "lua5_3") (Path [Identifier "pkgs",Identifier "lua5_3"]) because it's not found in set fromList []
CallStack (from HasCallStack):
  error, called at src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs:213:27 in cabal2nix-2.17.0-7btmY8pw4WqE6eYg0iDQgh:Distribution.Nixpkgs.Haskell.FromCabal.PostProcess

I'm very new to nix so perhaps there is an obvious, but any advice would be appreciated! Do you know if this could be a project with my default.nix, or the project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant