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
I'm having some trouble adding
alexas abuild-tool, I've tried doinghaskellTools = ghc : [ghc.alex];but I still getbecause it's not added as a
build-tool. I've also tried adding it tocomponent.build-tool-dependsto no avail:This error only happens when running with
nix run, interestingly.cabal rundoes seem to work fine