Skip to content

nixos/vscode: Disable symbol stripping for VSCode #392444

@sandy081

Description

@sandy081

Nixpkgs version

  • Stable (24.11)

Describe the bug

Extension signature verification in VS Code package from NixOS is failing with SIGSYS error code. This is because the debug symbols are being stripped while packaging VS Code in NixOS. Based on the dotnet issue dotnet/runtime#37334 (comment) , it seems self contained dotnet executables cannot be stripped. For more details refer to this issue -

microsoft/vscode#223455

Steps to reproduce

  • Install VS Code from NixOS
  • Install any extension
    🐛 It fails with an error

Expected behaviour

Installing an extension should succeed

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions