Nothing fancy, I just put

programs.vscode.enable = true;

in home manager config. I am presented with this error after a successful rebuild switch.

[1117/114505.763499:FATAL:v8_initializer.cc(538)] Error loading V8 startup snapshot file
/nix/store/1lqh595004maiapcx72wkp65r1nbnh9n-vscode-1.84.2/bin/.code-wrapped: line 63: 39906 Trace/breakpoint trap   (core dumped) ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"

I have tried a lot of fixes, from reinstalling, to adding some custom settings in vscode config. Nothing seems to work. Thanks in advance! If you want any additional information, let me know.

  • ManasLmao_OPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Hi, I updated my flake, and now vscode launches with these settings. Thanks a lot man!

    For people arriving here, update you flake with : nix flake update