nvim-neorocks / rocks

An alternative frontend app for luarocks.org
MIT License
24 stars 1 forks source link

[Bug] `rocks install luasystem` fails on deserialization #143

Open vhyrro opened 3 hours ago

vhyrro commented 3 hours ago
  📥 Downloading RockSpec for luasystem 0.4.4-1 failed: deserialize error: invalid type: map, expected a sequence   
thread 'main' panicked at rocks-bin/src/main.rs:192:89:
called `Result::unwrap()` on an `Err` value: deserialize error: invalid type: map, expected a sequence

Location:
    rocks-lib/src/rockspec/mod.rs:64:20
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
vhyrro commented 3 hours ago

I've noticed that luasystem sets the rockspec format version to 1... I hope that doesn't mean what I think it means.

vhyrro commented 3 hours ago

Thankfully this just seems to be a deserialization issue.