Spago installs old version of package

spago keeps installing an old version (0.1.3) of purescript-point-free (1.0.0), is there a way to update the spago snapshot to take the latest version instead of the old one?

In pursuit and github shows the latest version (1.0.0) so i suppose it is there installable https://pursuit.purescript.org/packages/purescript-point-free/1.0.0


Apparently the package author hasn't found the time to publish the new version to the package set yet. No biggie, Spago allows local overrides too.

As long as the GitHub repo has a tag v1.0.0, you can tell Spago to use that particular version by modifying the package set in your packages.dhall file:

let upstream = https://raw.githubusercontent.com/purescript/package-sets/...

in upstream
  with point-free.version = "v1.0.0"

NOTE 1: The string "v1.0.0" is not magic. It just points to a Git tag in the repo. So this will work with any tag, or any branch name, or even with a specific commit SHA.

NOTE 2: You can override anything in the package definition, not just version.

For example:

let upstream = https://raw.githubusercontent.com/purescript/package-sets/...

in upstream
  with point-free.version = "experimental-branch"
  with prelude.version = "main"
  with parsers.version = "a0ab5bf63e195bf17f676e1075b4508af582927c"

  with some-lib.repo = "/my/local/repo"
  with some-lib.version = "my-branch"
  with some-lib.dependencies = ["prelude"]