Skip to content

Build of stack project failing #112

Open
@m-col

Description

@m-col

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions