nh2 / nh2/static-haskell-nix

Build of stack project failing

Open
#112 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Nix
Stars
401
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Hi there. I am trying to build a small stack project ([here](https://github.com/m-col/gitserve/tree/static), '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](https://github.com/m-col/gitserve/blob/static/default.nix), or the project?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.