Skip to content

TMC plugin not working in NixOS #705

@JeztC

Description

@JeztC

Describe the bug
TMC extension is not working on NixOS, and doesn't let me login or choose courses with the extension.

To Reproduce
Steps to reproduce the behavior:

  1. Download TMC plugin from the extensions
  2. Click the TMC plugin menu to open it
  3. Error appears in the output

Expected behavior
Normally the extension would let the user login to TMC.

Screenshots
nix

Desktop (please complete the following information):

  • OS: NixOS 23.11.2217.d02d818f22c7 (Tapir) x86_64
  • VSCodium Version: 1.84.2
  • TMC Extension Version: 2.2.4

TMC Extension logs

[2024-01-06 10:45:34:090] [INFO] VSCodium version: 1.84.2
[2024-01-06 10:45:34:090] [INFO] moocfi.test-my-code version: 2.2.4
[2024-01-06 10:45:34:090] [INFO] Currently open workspace: CsharpProject
[2024-01-06 10:45:34:090] [INFO] Platform linux Arch x64
[2024-01-06 10:45:34:090] [INFO] TMC-Langs version: tmc-langs-cli-x86_64-unknown-linux-gnu-0.36.0
[2024-01-06 10:45:34:091] [INFO] Running "/home/jesse/.config/VSCodium/User/globalStorage/moocfi.test-my-code/cli/tmc-langs-cli-x86_64-unknown-linux-gnu-0.36.0" "tmc" "--client-name" "vscode_plugin" "--client-version" "2.2.4" "logged-in"
[2024-01-06 10:45:34:091] [DEBUG] Backend at https://tmc.mooc.fi
[2024-01-06 10:45:34:091] [DEBUG] Config dir at undefined
[2024-01-06 10:45:34:094] [DEBUG] stderr
Could not start dynamically linked executable: /home/jesse/.config/VSCodium/User/globalStorage/moocfi.test-my-code/cli/tmc-langs-cli-x86_64-unknown-linux-gnu-0.36.0
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld

[2024-01-06 10:45:34:094] [ERROR] Failed to check if authenticated:
Langs process ended without result data.
[2024-01-06 10:45:34:094] [ERROR] The above error may have been caused by an interfering antivirus program. Please add an exception for the following folder:
/home/jesse/.config/VSCodium/User/globalStorage/moocfi.test-my-code/cli
[2024-01-06 10:45:34:095] [ERROR] Error during initialization: Empy Langs Response Error: Langs process ended without result data.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions