Skip to content

TypeError when applying nix environment in Remote SSH #81

Closed
@siddharth-krishna

Description

@siddharth-krishna

Describe the bug
I am using this extension from VS Code on my macbook, and using the Remote SSH extension to open a workspace on a remote Ubuntu server. The wokspace has nix flakes set up. When I try to select a nix environment using this extension, the message "Applying environment" appears forever, but in the "Extension Host (Remote)" output pane I see the error:

2023-06-27 07:25:22.142 [error] TypeError: c.call is not a function
	at /home/sid/.vscode-server/extensions/arrterian.nix-env-selector-1.0.9/dist/main.js:2538:310

To Reproduce
Steps to reproduce the behavior:

  1. Open a remote workspace.
  2. Use the "Nix-Env: Select environment" command to select flake.nix
  3. Open the Outputs pane and go to "Extension Host (Remote)"
  4. See error

Expected behavior
I expect the nix environment to be activated so that I can use HLS for my project.

Environment:

  • OS: macOS 13.4.1
  • VS Code: 1.79.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions