-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Support the same project checked out in different directories #4215
Comments
How are the projects cloned? The Can you reproduce the issue with solely |
Could we just include the canonical path as an input into the hash? |
We do in |
I cloned the same repository (with multiple cabal packages) in two different directories using |
Please provide instructions, I checked locally with: $ rm -rf ~/.cache/hie-bios
$ cd path/to/hls
$ code .
$ cd path/to/hls2
$ ls ~/.cache/hie-bios
dist-hls-036ebb56a4cc135651b7510a90f3136d/ dist-hls2-128478ae21d411550ff54014715bf829/ ghc-pkg-e592c0c412aa044affaee5b877832a00* wrapper-b54f81dea4c0e6d1626911c526bc4e36* I additionally tested with making sure, both checkouts have the same name: $ rm -rf ~/.cache/hie-bios
$ cd path/to/hls
$ code .
$ cd other/path/to/hls
$ ls ~/.cache/hie-bios
dist-hls-036ebb56a4cc135651b7510a90f3136d/ dist-hls-81c43fbeddda3d9dc27d19db33a51842/ ghc-pkg-e592c0c412aa044affaee5b877832a00* wrapper-b54f81dea4c0e6d1626911c526bc4e36* |
It seems that HLS can get confused when working on the same project cloned in different directories. When I had to work using such a setup, there was only one entry in
~/.cache/hie-bios/dist-<project>-<hash>
.The text was updated successfully, but these errors were encountered: