!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

You have reached the beginning of time (for this room).


SenderMessageTime
1 Jun 2025
@suswombat92:matrix.org@suswombat92:matrix.org left the room.08:59:33
@seanthw:matrix.orgSean Thawe joined the room.23:47:44
2 Jun 2025
@whovian9369:matrix.orgWhovian9369 When does /bin/nixos-wsl-recovery/pkgs.nixos-enter get updated? I was wanting to try it so I can reasonably run pkgs.zerofree without issue, but {pkgs.nixos-enter}/bin/nixos-enter has a shebang that doesn't exist in my environment (anymore), confusingly. 04:01:44
@whovian9369:matrix.orgWhovian9369

Now as I said that, it looks like I was slightly wrong. The pkgs.bash shebang does exist... if you're already in NixOS, making wsl -d NixOS --system --user root -- /mnt/wslg/distro/bin/nixos-wsl-recovery fail.

$  tail -n1 /bin/nixos-wsl-recovery
exec /mnt/wslg/distro//nix/store/00y13y9l90yxjaqyddkjfms0r80r1i4j-nixos-enter/bin/nixos-enter --root /mnt/wslg/distro "$@"

$  head -n1 /nix/store/00y13y9l90yxjaqyddkjfms0r80r1i4j-nixos-enter/bin/nixos-enter
#! /nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/bash
04:04:55
@rosssmyth:matrix.org@rosssmyth:matrix.orgRedacted or Malformed Event21:26:16
@rosssmyth:matrix.org@rosssmyth:matrix.orgDoes polkit need something extra to work? Whenever I attempt to use something that uses it, for example "run0", it fails with "....: Interactive authentication required."21:26:19
@rosssmyth:matrix.org@rosssmyth:matrix.orgoh yeah images21:26:22

Show newer messages


Back to Room ListRoom Version: 9