NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.3k stars 13.54k forks source link

Package request: vscode-extensions.probe-rs.probe-rs-debugger #202283

Open mayl opened 1 year ago

mayl commented 1 year ago

probe-rs.probe-rs-debugger

Project description vscode extension which allows debugging embedded Rust projects through hardware debuggers, using probe-rs.

Metadata

mayl commented 1 year ago

I took a stab at building this myself using yarn2nix, and although I can yarn compile successfully I get stuck with the below error when I try to build with mkYarnPackage:

Error: Couldn't find any versions for "webpack" that matches "^5.70.0" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue.

I'm not a heavy vscode or yarn user, so debugging what's going on has been difficult and I would appreciate any help.

newAM commented 1 year ago

Do you have a branch with your packaging attempt? I'm also not very familiar with javascript, but I can take a look.

mayl commented 1 year ago

I don't have a branch but I've been working out of a flake here. I got it working by downloading a pre-built extension, but I'd like to get it building from source.

You can toggle between fetching a pre-built extension and trying to build one with the buildFromSource attribute in my flake here.