continue: Doesn't work in NixOS

Before submitting your bug report

Relevant environment info

- OS: NixOS (unstable)
- Continue: v0.8.2
- IDE: VSCODE

Description

VS Code plugin logs:

Activation Event:onStartupFinished Activation Time:83ms

libstdc++.so.6: cannot open shared object file: No such file or directory

To reproduce

No response

Log output

No response

About this issue

  • Original URL
  • State: open
  • Created 5 months ago
  • Reactions: 1
  • Comments: 19

Most upvoted comments

My PR was merged and now is available on NixOS Unstable.

I’m using home-manger’s VS Code module and this code works for me:

(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
  mktplcRef = {
    name = "continue";
    publisher = "Continue";
    version = "0.9.61";
    sha256 = "f3538fff6a5f2b5c354e1227907e9ad3127d8fecf3940ddf15598f17f144c14e";
    arch = "linux-x64";
  };
  nativeBuildInputs = [
    pkgs.autoPatchelfHook
  ];
  buildInputs = [ pkgs.stdenv.cc.cc.lib ];
})

It patches binary ELFs for NixOS.

Edit: If there is demand then I can make PR to nixpkgs.

Edit 2: I made PR to NixOS that adds VS Code extension: https://github.com/NixOS/nixpkgs/pull/289289.