There seems to be an oversight in the implementation of [sources] for the local path and its interaction with a workflow that uses a root project. In particular, I have a temporary dependency put within the existing package ShuffleProofs, and I have the following [sources] section:
[sources]
SigmaProofs = {path = "SigmaProofs"}
When activating the project at ShuffleProofs, the dependency is correctly located, indicating that the setup is done accurately.
I use the root project setup extensively and have the following directory structure:
where every dependency is added with dev in the project. When I activate this root project and load ShuffleProofs, it tries to find SigmaProofs in the wrong location:
(Github) pkg> test ShuffleProofs
Testing ShuffleProofs
ERROR: expected package `SigmaProofs [f8559b4c]` to exist at path `/Users/jerdmanis/BtSync/PeaceFounder/Github/SigmaProofs
where instead, it should be located at /Users/jerdmanis/BtSync/PeaceFounder/Github/ShuffleProofs/SigmaProofs. For now, I have resolved the situation by making a soft link in the root project.
There seems to be an oversight in the implementation of
[sources]
for the local path and its interaction with a workflow that uses a root project. In particular, I have a temporary dependency put within the existing packageShuffleProofs
, and I have the following[sources]
section:When activating the project at
ShuffleProofs,
the dependency is correctly located, indicating that the setup is done accurately.I use the root project setup extensively and have the following directory structure:
where every dependency is added with
dev
in the project. When I activate this root project and loadShuffleProofs
, it tries to findSigmaProofs
in the wrong location:where instead, it should be located at
/Users/jerdmanis/BtSync/PeaceFounder/Github/ShuffleProofs/SigmaProofs
. For now, I have resolved the situation by making a soft link in the root project.