justinwoo / spago2nix

Generate a derivation of (old) Spago dependencies, and use them to install them into the directory structure used by Spago.
MIT License
42 stars 22 forks source link

`spago2nix generate` failed #29

Closed justinlovinger closed 3 years ago

justinlovinger commented 3 years ago

Using the latest spago2nix from easy-purescript-nix, running spago2nix generate gives error

getting packages..
Failed to list packages:
Invalid argument `ls'

Perhaps it should be spago list-packages?

justinlovinger commented 3 years ago

I see that a recent pull request (https://github.com/justinwoo/spago2nix/pull/27) changed spago list-packages to spago ls packages, because a newer spago changed the syntax. However, it didn't update spago used by the Nix package.

dhess commented 3 years ago

Same here.