Closed evanrelf closed 11 months ago
I was getting the same error described in this issue: https://github.com/justinwoo/spago2nix/issues/29
The problem is spago2nix is using an older version of spago which uses spago list-packages and not the new spago ls packages form.
spago2nix
spago
spago list-packages
spago ls packages
I made it possible to customize the version of spago used, following the same format as your existing dhall-json setup.
dhall-json
I also updated the pinned easy-purescript-nix to the latest revision, which also happens to use a compatible version of spago.
easy-purescript-nix
I've run into this issue recently as well. @evanrelf's fix appears to work well.
Problem
I was getting the same error described in this issue: https://github.com/justinwoo/spago2nix/issues/29
The problem is
spago2nix
is using an older version ofspago
which usesspago list-packages
and not the newspago ls packages
form.Solution
I made it possible to customize the version of
spago
used, following the same format as your existingdhall-json
setup.I also updated the pinned
easy-purescript-nix
to the latest revision, which also happens to use a compatible version ofspago
.