| 26 Dec 2024 |
| Lorenz Leutgeb changed their display name from Lorenz Leutgeb to Lorenz Leutgeb (📞6343). | 19:33:02 |
| Lorenz Leutgeb changed their display name from Lorenz Leutgeb (📞6343) to Lorenz Leutgeb 📞6343. | 19:36:18 |
| 27 Dec 2024 |
| Dimitar set a profile picture. | 11:41:22 |
| Dimitar changed their display name from dimitarnestorov to Dimitar. | 11:42:01 |
| 29 Dec 2024 |
mwoodpatrickmx | I'm trying to run vscode on NixOS 24.11 running on WSL-2 with nix-ld installed but I'm getting:
/home/mwoodpatrick/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/bin/code-server --host=127.0.0.1 --port=0 --connection-token=258513541-3459138071-4034234884-3707113654 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=al
Could not start dynamically linked executable: /home/mwoodpatrick/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/node
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
Anyone know what I need to do to fix or debug this?
| 03:33:24 |
mwoodpatrickmx | * I'm trying to run vscode on NixOS 24.11 running on WSL-2 (using flakes) with nix-ld installed but I'm getting:
/home/mwoodpatrick/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/bin/code-server --host=127.0.0.1 --port=0 --connection-token=258513541-3459138071-4034234884-3707113654 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=al
Could not start dynamically linked executable: /home/mwoodpatrick/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/node
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
Anyone know what I need to do to fix or debug this?
| 03:37:16 |
98765abc | Redacted or Malformed Event | 06:52:35 |
98765abc | * You need add the missing libraries into
programs.nix-ld.libraries = with pkgs; [ | 06:53:08 |
98765abc | docs/src/how-to/vscode.md | 06:58:19 |
mwoodpatrickmx | I read the "Setup VSCode Remote" and was trying to use method 1. as noted I do have nix_ld installed in my OS but it looks like the setup also involves setting up environment variables NIX_LD_LIBRARY_PATH and NIX_LD along with a shell hook. It would be helpful to include the details needed for vscode and update the doc to 24.11. Does anyone have the full set of changes needed for vscode on nixos running under WSL-2. | 12:03:24 |
K900 | nix-ld is enough | 12:04:52 |
K900 | The environment variables don't need to be set | 12:04:59 |
K900 | Modern nix-ld versions have sane defaults for thos | 12:05:07 |
K900 | * Modern nix-ld versions have sane defaults for those | 12:05:07 |
K900 | That error means you don't have nix-ld configured correctly at all | 12:06:04 |
K900 | How did you install it? | 12:06:14 |
mwoodpatrickmx | In my nixos/configuration.nix I just added the package to systemPackages and reran the "sudo nixos-rebuild switch --flake <flake>" command and it did install the package and I saw that nix-ld was indeed available. It was not clear to me what other configuration I needed to do in my case to get this working with 24.11 on wsl-2. What else so I need to do? | 12:14:16 |
K900 | As the page says, you want programs.nix-ld.enable = true | 12:16:56 |
K900 | Just adding it to systemPackages is not enough | 12:17:04 |
mwoodpatrickmx | That worked, thank you | 13:08:41 |
mwoodpatrickmx | In the vscode settings any suggestions on how to set the setting "vscode-neovim.neovimExecutablePaths.linux" | 14:03:23 |
nzbr (they/it) | By the way, if any of you are currently at 38C3 and want NixOS-WSL Stickers, let me know | 22:10:38 |
nzbr (they/it) | Left a bunch of them at the NixOS assembly just now | 22:22:20 |
| 30 Dec 2024 |
| trudwin joined the room. | 10:11:53 |
| 1 Jan 2025 |
| NixOS Moderation Botchanged room power levels. | 14:26:19 |
| 2 Jan 2025 |
| error_pro joined the room. | 10:11:36 |
| Oluwapelumi Adeosun joined the room. | 10:14:26 |
| 5 Jan 2025 |
K900 | So this is fun | 16:31:14 |
K900 | WSL never updates the systemd activation environment | 16:31:32 |
nzbr (they/it) | The base-distro you get to with --debug-shell or do the env vars? | 21:13:02 |