| 29 Dec 2024 |
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 |
| 6 Jan 2025 |
K900 | Uhh what | 03:35:18 |
nzbr (they/it) | i didn't understand what you meant with "systemd activation environment" | 20:35:29 |
K900 | It's the environment units run in | 21:17:46 |
K900 | As seen with systemctl --user show-environment | 21:17:58 |
K900 | Basically right now you can't run graphical stuff from a systemd unit at all | 21:18:11 |
| 7 Jan 2025 |
nzbr (they/it) | I see. Hadn't tried to do that yet | 00:11:09 |
K900 | Me neither really | 05:41:20 |