Stack with repositories other than hackage?

Stack has the equivalent of source-repository-package (with extra-deps: git ...) but can I get a dependency from a package repository other than hackage with stack?

Here’s the example snippet from the docs on how to set this up for cabal:

repository packages.example.org
  url: http://packages.example.org/
  secure: True
  root-keys: <root-key-IDs>
  key-threshold: <key-threshold>

I see plutus/cabal.project is using this feature.

Is Stack’s package-index configuration relevant: Configuration (project and global) - The Haskell Tool Stack

2 Likes

Thanks @mpilgrem. That’s likely it. I need a build tool phraseology translator.