!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

332 Members
https://github.com/nix-community/NixOS-WSL55 Servers

Load older messages


SenderMessageTime
17 Dec 2024
@whovian9369:matrix.orgWhovian9369Anyone have a clue why using a specific (dotnet) program a couple times successfully could make it further freeze up for seemingly no reason when used later (including in new shell sessions)? Other programs (including other dotnet ones) seems to work fine, and I don't immediately have a good way to troubleshoot this. 02:12:46
20 Dec 2024
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe joined the room.13:58:52
21 Dec 2024
@stablejoy:matrix.org@stablejoy:matrix.org left the room.05:08:16
@dimitarnestorov:matrix.orgDimitar joined the room.19:47:04
22 Dec 2024
@imnotdwight:matrix.org@imnotdwight:matrix.org left the room.17:27:53
24 Dec 2024
@karlthane:matrix.orgkarlthane joined the room.14:10:01
25 Dec 2024
@chukfinley:matrix.orghackerman_1337 changed their display name from hackerman to hackerman_1337.19:06:53
26 Dec 2024
@10leej:matrix.org@10leej:matrix.org joined the room.01:41:20
@10leej:matrix.org@10leej:matrix.org left the room.01:42:02
@lorenzleutgeb:matrix.orgLorenz Leutgeb changed their display name from Lorenz Leutgeb to Lorenz Leutgeb (📞6343).19:33:02
@lorenzleutgeb:matrix.orgLorenz Leutgeb changed their display name from Lorenz Leutgeb (📞6343) to Lorenz Leutgeb 📞6343.19:36:18
27 Dec 2024
@dimitarnestorov:matrix.orgDimitar set a profile picture.11:41:22
@dimitarnestorov:matrix.orgDimitar changed their display name from dimitarnestorov to Dimitar.11:42:01
29 Dec 2024
@mwoodpatrickmx:matrix.orgmwoodpatrickmxI'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:matrix.orgmwoodpatrickmx* 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:mozilla.org98765abcRedacted or Malformed Event06:52:35
@98765abc:mozilla.org98765abc * You need add the missing libraries into
programs.nix-ld.libraries = with pkgs; [
06:53:08
@98765abc:mozilla.org98765abc docs/src/how-to/vscode.md 06:58:19
@mwoodpatrickmx:matrix.orgmwoodpatrickmxI 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:0upti.meK900nix-ld is enough12:04:52
@k900:0upti.meK900The environment variables don't need to be set12:04:59
@k900:0upti.meK900Modern nix-ld versions have sane defaults for thos12:05:07
@k900:0upti.meK900* Modern nix-ld versions have sane defaults for those12:05:07
@k900:0upti.meK900That error means you don't have nix-ld configured correctly at all12:06:04
@k900:0upti.meK900How did you install it?12:06:14
@mwoodpatrickmx:matrix.orgmwoodpatrickmxIn 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:0upti.meK900 As the page says, you want programs.nix-ld.enable = true 12:16:56
@k900:0upti.meK900 Just adding it to systemPackages is not enough 12:17:04
@mwoodpatrickmx:matrix.orgmwoodpatrickmxThat worked, thank you13:08:41
@mwoodpatrickmx:matrix.orgmwoodpatrickmxIn the vscode settings any suggestions on how to set the setting "vscode-neovim.neovimExecutablePaths.linux"14:03:23

Show newer messages


Back to Room ListRoom Version: 9