Stream: contributing

Topic: vscode flake


view this post on Zulip Erik (Dec 10 2022 at 03:44):

Hey all! I was trying to get my tooling up in running and ran into the following.

error: builder for '/nix/store/0ibbg2wr3w1bxrkshg4j8nj87c7b2ngw-vscode-extension-vadimcn-vscode-lldb-1.7.4.drv' failed with exit code 2;
       last 10 log lines:
       >
       > npm ERR! Log files were not written due to an error writing to the directory: /homeless-shelter/.npm/_logs
       > npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
       > make[3]: *** [CMakeFiles/extension.dir/build.make:91: extension.js] Error 226
       > make[2]: *** [CMakeFiles/Makefile2:175: CMakeFiles/extension.dir/all] Error 2
       > make[1]: *** [CMakeFiles/Makefile2:263: CMakeFiles/vsix_bootstrap.dir/rule] Error 2
       > make: *** [Makefile:231: vsix_bootstrap] Error 2
       > 1 asset
       > 43 modules
       > webpack 5.73.0 compiled successfully in 2454 ms
       For full logs, run 'nix log /nix/store/0ibbg2wr3w1bxrkshg4j8nj87c7b2ngw-vscode-extension-vadimcn-vscode-lldb-1.7.4.drv'.
error: 1 dependencies of derivation '/nix/store/47akmrpxw8b5nl6apv2c2c25qlb4qg2p-vscode-extensions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/frnklnqqqjsndiaxiladabpcwa7hn7bb-vscode-with-extensions-1.73.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/axrlvsr2fdnmzqm0r7ll56ss6z2grbbb-nix-shell-env.drv' failed to build

Im a nix noob and have no idea where to go from here :sweat_smile: I did find https://github.com/NixOS/nixpkgs/issues/202507#issuecomment-1326700351 which seems maybe promising? but I dont know where prebuild actually is.

view this post on Zulip Erik (Dec 10 2022 at 03:50):

Ohhh! I took another look at the flake.nix and figured out I could just comment out the line for that specific package to at least get started.

view this post on Zulip Erik (Dec 10 2022 at 04:03):

yesssssss its working
image.png
I get logged out of my vscode settings sync when i launch via code . --extensions-dir="$HOME/.vscode/extensions" but its progress :)


Last updated: Jul 05 2025 at 12:14 UTC