Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Chaman-veteran opened this issue Apr 2, 2024 · 3 comments
Open

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

Chaman-veteran opened this issue Apr 2, 2024 · 3 comments

Comments

@Chaman-veteran
Copy link

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
Copy link
Owner

clinty commented Apr 3, 2024

What does the symlink point to?

@Chaman-veteran
Copy link
Author

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants