cabal-debian
cabal-debian copied to clipboard
cabal-debian fails for custom location of the ghc
I used ghcup
to set up ghc
and cabal
and both work but cabal-debian
seems to have a problem with how ghcup
sets up the ghc
.
Error message is
dpkg-query: Kein Pfad gefunden, der auf Muster /home/timo/.ghcup/bin/ghc passt
cabal-debian: readCreateProcess: dpkg-query "-S" "/home/timo/.ghcup/bin/ghc" (exit 1): failed
Looks like filePackage
needs to check the exit code of dpkg-query to handle this case better.
Is there any workaround for this problem at this moment? I'm also using ghcup
on Ubuntu to manage GHC and Cabal versions.
I'm happy to accept any patches submitted, or add any volunteers as maintainer, but I no longer develop Debian packages.
@ddssff Thanks for the heads up!
@clinty I see that your fork of this repo is listed on Hackage in the Maintainer
field but your GitHub repository doesn't have issues, so it's not possible to open new issues or discuss existing problems in there.