Open
Description
Attempting to run bun2nix
on a lockfile, which includes any dependencies pulled from Github, will result in the following error:
thread 'main' panicked at src/main.rs:115:10:
called `Result::unwrap()` on an `Err` value: ParseRustType(Error("Invalid package entry for uWebSockets.js: expected at least 4 values", line: 0, column: 0))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Steps to reproduce, using tardis-machine as an example:
nix-shell -I nixpkgs=channel:nixos-unstable -p bun -p git
cd /tmp
git clone https://github.com/tardis-dev/tardis-machine/
cd tardis-machine
git checkout 3.34.1
bun install --lockfile-only
nix run github:baileyluTCD/bun2nix -- -o bun.nix