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
I used
ghcupto set upghcandcabaland both work butcabal-debianseems to have a problem with howghcupsets up theghc.Error message is