Open Shou opened 4 years ago
you might try making some workarounds, yeah. i would like this to eventually just be fixed in spago, but i'll merge a fix for this
oh, sorry, my comment was ambiguous i think. could you make a small PR to filter this? then i can merge it
Might be nice if someone looked into this sometime.
When
spago list-packages -f transitive -j
emits a warning likeWARNING: wasn't able to check if your package set file is frozen
to stdout it becomes a parse error. Is it worth instead omitting lines that failed parsing inspagoListPackages
, maybe with a warning? E.g.Failed to JSON parse: WARNING: wasn't able to ...
.See also https://github.com/spacchetti/spago/issues/256