clinty / cabal-debian

Create a Debianization by examining a .cabal file.
Other
3 stars 3 forks source link

dpkg-query: no path found matching pattern $path_to_ghc #5

Open Chaman-veteran opened 3 months ago

Chaman-veteran commented 3 months ago

Hello,

I tried to use the tool (with just the cabal-debian command) and I am stuck with the following error message:

dpkg-query: no path found matching pattern /home/nathan/.ghcup/bin/ghc
cabal-debian: readCreateProcess: dpkg-query "-S" "/home/nathan/.ghcup/bin/ghc" (exit 1): failed

But I do have a symlink at this place. Can you please help me?

clinty commented 3 months ago

What does the symlink point to?

Chaman-veteran commented 2 months ago

Thanks for your quick response! Below's where the symlink points to :) /home/nathan/.ghcup/bin/ghc: symbolic link to ../ghc/9.8.2/bin/ghc-9.8.2

Chaman-veteran commented 1 month ago

It's working on a debian container with ghc installed with apt instead of ghcup, maybe it's linked to either of the changes I made in the install?