這裏的stack.yaml節stack.yaml不依賴從GitHub
包:
- location:
git: https://github.com/TwitterFriends/lsh.git
commit: 57d57f4209e56f526c0eca023907015935c26071
extra-dep: true
我添加了包時我嘗試建立
到小集團文件得到錯誤
While constructing the BuildPlan the following exceptions were encountered:
-- While attempting to add dependency,
Could not find package lsh in known packages
我在做什麼錯?
當前項目在這裏
https://github.com/TwitterFriends/twitter-friend-server
lsh包被註釋掉.cabal文件。我刪除了評論,並面臨同樣的問題。嘗試做一個混帳拉看到變化。 –
現在我不知道這裏有什麼問題。這對我來說是個謎。但我注意到你有兩個'package'元素。嘗試刪除這兩個'軟件包'並且只添加這個:http://lpaste.net/6027187186263130112它現在爲我找到'lsh'軟件包。另外,不要忘記之前使用「stack clean」,有時可能會有所幫助。 – Shersh