Skip to content

How to add Cabal build-tools? #53

@bristermitten

Description

@bristermitten

I'm having some trouble adding alex as a build-tool, I've tried doing haskellTools = ghc : [ghc.alex]; but I still get

      > Error: [Cabal-4123]
      > The program 'alex' is required but it could not be found

because it's not added as a build-tool. I've also tried adding it to component.build-tool-depends to no avail:

     build-tool-depends = [
              "alex"
            ];

This error only happens when running with nix run, interestingly. cabal run does seem to work fine

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