-
Notifications
You must be signed in to change notification settings - Fork 199
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
hlint defaults to using $bindir/data/hlint.yaml #503
Comments
It was a few versions ago when I wanted to be able to run HLint out of a downloaded binary which was not installed but merely extracted to /tmp. It tries the right locations first, so does the extra fallback causes issues? |
Ah yeah sorry, I forgot to mention the actual problem or reproducer, doh. The problem is I use a cabal sandbox to build latest hlint (this is not for official Fedora builds but for my Fedora Copr ("ppa") repo), and then install the files by hand - then the embedded datadir points to the sandbox dir and then hlint falls back to |
https://github.com/fedora-haskell/hlint/blob/master/hlint.spec is the build script - yeah not nice. |
Nevermind sorry I think I fixed this now but just doing |
Awesome! |
Not sure when this changed but recent hlint seems to fallback to looking for
$bindir/data/hlint.yaml
(where bindir is the dir where hlint is located). At least on Linux this is not the right location of course.I was meaning to come up with a patch, but didn't find time so I thought I better just report it first.
The text was updated successfully, but these errors were encountered: