Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Can you add a README? #2

Open
kourtni opened this issue Jun 11, 2024 · 2 comments
Open

Can you add a README? #2

kourtni opened this issue Jun 11, 2024 · 2 comments

Comments

@kourtni
Copy link

kourtni commented Jun 11, 2024

Hi,

Is it possible that you could add a README to provide step-by-step instructions for people not as fluent in Nix.

I've added the vscode.nix file and updated my flake.nix file to import it. But if I try to launch VS Code from Nix, I still get an error saying:

Could not start dynamically linked executable

I even exited and terminated my WSL, but no change in behavior.

If I'm missing a step, I'm hoping it can be pointed out in a README file.

Best

@Gigahawk
Copy link

You probably need to delete ~/.vscode-server. This module basically just adds a systemd path that listens for updates on that path and replaces the binary that gets downloaded with a link to the nix one. If you already have those files downloaded before applying an updated config with this module enabled it won't pick up any changes.

I also had to run code . twice to get it to work, seems like the link isn't applied in time for it to work the first time

@kourtni
Copy link
Author

kourtni commented Jun 11, 2024

OK, thanks for the additional details. Will give that a try when I get back to my other laptop.

I also sent a PR to add the information you just shared as a README.md file ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants