(Version 1.9.1.1, Git revision a953002 (6170 commits) x86_64)
The manual gives two different ways of adding a dependency via git (that one can find in a search using the keyword git):
I couldn't get the first one to work (even though it's the first result). The second is fine.
Steps to reproduce
- Take any stack project (or create one).
- Add some package
foo that can be found on a remote git repo as a dependency to the package
- Use either of the above two methods to add
foo to stack.yaml
stack build: the first method results in an error, the second doesn't.
So one of these seems outdated. It's odd that the error is not about invalid syntax, but stack simply seems to ignore that location: field under packages:.
(Version 1.9.1.1, Git revision a953002 (6170 commits) x86_64)
The manual gives two different ways of adding a dependency via
git(that one can find in a search using the keywordgit):I couldn't get the first one to work (even though it's the first result). The second is fine.
Steps to reproduce
foothat can be found on a remote git repo as a dependency to the packagefootostack.yamlstack build: the first method results in an error, the second doesn't.So one of these seems outdated. It's odd that the error is not about invalid syntax, but stack simply seems to ignore that
location:field underpackages:.