Die documentation for the stack.yaml
packages
section gibt Beispiele für die Bezugnahme auf komplexere Paketpositionen.
packages:
- location: .
- location: dir1/dir2
- location: https://example.com/foo/bar/baz-0.0.2.tar.gz
- location: http://github.com/yesodweb/wai/archive/2f8a8e1b771829f4a8a77c0111352ce45a14c30f.zip
- location:
git: [email protected]:commercialhaskell/stack.git
commit: 6a86ee32e5b869a877151f74064572225e1a0398
- location:
hg: https://example.com/hg/repo
commit: da39a3ee5e6b4b0d3255bfef95601890afd80709
Dann extra-dep: true
zum package
Eintrag hinzufügen nur stack
zu sagen, den Code nicht als etwas zieht in behandeln (lädt zum Beispiel nicht, dass es in GHCi) Sie entwickeln auf.
Diese Antwort scheint veraltet. Sie können URLs und Dateipfade unter Extra-Deps angeben – Flip