Closed
Description
The following sequence doesn't work as expected (with 323460e)
git clone https://github.com/jgm/pandoc
git clone https://github.com/jgm/pandoc-types
cd pandoc/
cabal sandbox init
cabal sandbox add-source ../pandoc-types
cabal install --only-dep # fails because pandoc-types-1.12 is not found
cabal info pandoc-types-1.12 # fails as well
# `cabal sandbox list-sources` would indeed list "pandoc-types"
The following ordering of commands works however:
git clone https://github.com/jgm/pandoc
git clone https://github.com/jgm/pandoc-types
cd pandoc/
cabal sandbox init
cabal install --only-dep # fails as expected, as pandoc-types-1.12 is not released yet
cabal sandbox add-source ../pandoc-types
cabal install --only-dep # now, pandoc-types-1.12 is found