diff --git a/docs/src/how-to/vscode.md b/docs/src/how-to/vscode.md index d65e1b9a..b22a83e0 100644 --- a/docs/src/how-to/vscode.md +++ b/docs/src/how-to/vscode.md @@ -18,14 +18,14 @@ environment.systemPackages = [ [nix-ld](https://github.com/Mic92/nix-ld) is a program that provides `/lib64/ld-linux-x86-64.so.2`, allowing foreign binaries to run on NixOS. -Running the VSCode server on NixOS-WSL requires using [nix-ld-rs](https://github.com/nix-community/nix-ld-rs), instead of the regular nix-ld. +Running the VSCode server on NixOS-WSL requires using nix-ld 2.0 which is as often writing only on unstable or [nix-ld-rs](https://github.com/nix-community/nix-ld-rs). To set it up, add the following to your configuration: ```nix programs.nix-ld = { enable = true; - package = pkgs.nix-ld-rs; + package = pkgs.nix-ld-rs; # only for NixOS 23.05 }; ```