2016-07-14 70 views

cevap

14

documentation for the stack.yamlpackages section, daha karmaşık paket konumlarına başvurma örnekleri verir.

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 

Sonra sadece o şey size (ör GHCi bunu yüklenmeyen) üzerinde gelişmekte konum olarak çeker kod tedavi etmek değil stack anlatmak için package girişe extra-dep: true ekleyin.

+0

Bu yanıt güncel değil gibi görünüyor. Ekstra ayrıntılar altında URL'ler ve dosya yolları belirtebilirsiniz – Flip