spago

How do you install a specific package version with Spago?

◇◆丶佛笑我妖孽 提交于 2021-02-11 06:06:04
问题 With tools like npm we can install a specific version npm install foo@1.2.0 How do you install a specific version using spago install ? 回答1: Firstly, that's not what spago install does. Instead of "adding a package to your project", spago install downloads all packages that are currently referenced in your spago.dhall file. Secondly, the idea with Spago is that you don't choose a specific package version. Instead what you choose is a "snapshot", which is a collection of certain versions of