!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
6 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Ever OOMed by Element) to SomeoneSerge (@nixcon & back on matrix).09:19:54
8 Sep 2025
@inayet:matrix.orginayet set a profile picture.02:16:30
9 Sep 2025
@philipdb:matrix.orgPhiliPdB joined the room.18:43:00
10 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (@nixcon & back on matrix) to SomeoneSerge (back on matrix).00:34:02
12 Sep 2025
@kakkun61:matrix.orgkakkun61 joined the room.10:36:56
13 Sep 2025
@validitymaiden:matrix.orgvaliditymaiden joined the room.17:18:38
@validitymaiden:matrix.orgvaliditymaiden set a profile picture.17:31:42
@validitymaiden:matrix.orgvaliditymaiden changed their profile picture.17:32:23
14 Sep 2025
@rovey:matrix.org@rovey:matrix.org left the room.12:24:13
@xworld21:matrix.orgVincenzo left the room.18:37:25
@xworld21:matrix.orgVincenzo joined the room.18:37:53
15 Sep 2025
@undaunted2816:matrix.org@undaunted2816:matrix.org left the room.08:24:23
16 Sep 2025
@samuel:mnzn.devSamuel joined the room.08:06:52
17 Sep 2025
@yehvaed:matrix.orgdeclnix changed their display name from yehvaed to declnix.16:42:53
19 Sep 2025
@bl1nk:matrix.orgbl1nk changed their profile picture.15:22:59
@bl1nk:matrix.orgbl1nk changed their profile picture.15:25:08
21 Sep 2025
@zobweyt:matrix.orgNikita Gaziev joined the room.08:14:44
22 Sep 2025
@declnix:matrix.orgdeclnix joined the room.15:21:50
@declnix:matrix.orgdeclnix changed their profile picture.22:35:51
23 Sep 2025
@a-kenji:matrix.orgkenji changed their display name from a-kenji to kenji.10:38:56
@declnix:matrix.orgdeclnix

Hi, I'm experiencing some weird issues with code and NixOS on WSL. Has anyone else encountered a similar problem?

➜  ~ where code
/mnt/c/Users/User/AppData/Local/Programs/Microsoft VS Code/bin/code
➜  ~ where code
➜  ~ code nix-config
/mnt/c/Users/User/AppData/Local/Programs/Microsoft VS Code/Code.exe:1
MZx

SyntaxError: Invalid or unexpected token
    at wrapSafe (node:internal/modules/cjs/loader:1472:18)
    ...
Node.js v20.19.4

It looks like code is trying to execute a binary as a Node.js script. Not sure what's going on.

10:52:04
@k900:0upti.meK900 Do you have a custom binfmt registration for Node or something
10:54:02
@declnix:matrix.orgdeclnix

To be honest it is kind good question

➜  ~ mount | grep binfmt_misc
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
➜  ~ ls /proc/sys/fs/binfmt_misc
 register   status   WSLInterop-late
➜  ~ cat /proc/sys/fs/binfmt_misc/WSLInterop-late
───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /proc/sys/fs/binfmt_misc/WSLInterop-late
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ enabled
   2   │ interpreter /init
   3   │ flags: P
   4   │ offset 0
   5   │ magic 4d5a
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
➜  ~     
11:02:31
@k900:0upti.meK900Hm that seems normal11:03:04
@declnix:matrix.orgdeclnixIf it is crucial for sometime I was trying to use https://github.com/nix-community/nixos-vscode-server11:18:53
@nzbr:nzbr.denzbr (they/it)Can you connect through the vscode ui instead of the terminal? Does that work?11:26:28
@declnix:matrix.orgdeclnixYes it works through ui11:29:52
24 Sep 2025
@JRoll506:matrix.orgRyanBruno joined the room.15:15:05
25 Sep 2025
@dvtkrlbs:matrix.org@dvtkrlbs:matrix.org left the room.22:24:42
26 Sep 2025
@jaculabilis:matrix.orgjaculabilis joined the room.04:55:39

Show newer messages


Back to Room ListRoom Version: 9