!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

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


SenderMessageTime
27 May 2025
@deeok:matrix.orgmatrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms) joined the room.18:53:35
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.orgrosssmythRedacted or Malformed Event21:26:16
@rosssmyth:matrix.orgrosssmythDoes 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.orgrosssmythoh yeah images21:26:22
3 Jun 2025
@k900:0upti.meK900A polkit agent yes05:41:23
5 Jun 2025
@tioan:dunwyn.xyz@tioan:dunwyn.xyz left the room.19:01:54
7 Jun 2025
@deeok:matrix.orgmatrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms) left the room.23:27:22
@deeok:matrix.orgmatrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms) joined the room.23:39:03
9 Jun 2025
@sigmasquadron:matrix.orgSigmaSquadron joined the room.13:05:23
@kleha:matrix.orgKleha joined the room.23:52:04
11 Jun 2025
@whovian9369:matrix.orgWhovian9369

Anyone run into issues rebuilding recently? I'm trying to rebuild my system, and getting this when it tries to build nixos-wsl-utils

$  PAGER= nix log /nix/store/g3v13v1jj1vjys4zs2jcc5cr6b4g2xll-nixos-wsl-utils-1.0.0.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/g3v13v1jj1vjys4zs2jcc5cr6b4g2xll-nixos-wsl-utils-1.0.0.drv^*'
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/n89ziclxgb8iiypsah9j72vvh5bjv6dg-utils
source root is utils
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Executing cargoSetupPostPatchHook
Validating consistency between /build/utils/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing cargoBuildHook
cargoBuildHook flags: -j 8 --target x86_64-unknown-linux-gnu --offline --profile release
Executing cargoInstallPostBuildHook
cp: missing destination file operand after 'target/x86_64-unknown-linux-gnu/release-tmp/'
Try 'cp --help' for more information.
23:28:38
@whovian9369:matrix.orgWhovian9369I'm also having some similar issues with other Rust packages, so I'm hopeful that it isn't an issue with my environment. 😓23:30:52
12 Jun 2025
@k900:0upti.meK900 That looks like Cargo didn't even run 05:26:33
@davidisaksson:matrix.orgdavidisaksson joined the room.20:10:51
@sorm_cha:matrix.orgsorm_cha changed their profile picture.20:11:18
13 Jun 2025
@jananders:matrix.org@jananders:matrix.org joined the room.12:56:21
18 Jun 2025
@wolfe974:matrix.orgwolfe974 joined the room.15:33:30
@wolfe974:matrix.orgwolfe974

Hi all. I recently posted an issue on github: https://github.com/nix-community/NixOS-WSL/issues/670 and I was pointed to ask about rebuilding the wsl distro with the SSL certs embedded therein. My issue is centered around SSL certs not working from within NixOS on WSL.

So, naturally, I am looking to understand where I need to put the SSL Certs at to ensure the nix-build tool builds properly. Thank you for any help that can be provided!

15:37:47
20 Jun 2025
@k900:0upti.meK900I like WSL being open source17:54:14
@k900:0upti.meK900https://github.com/microsoft/WSL/pull/1315717:54:15
@k900:0upti.meK900I can just yeet one line patches at them when they hardcode /usr again17:54:23

Show newer messages


Back to Room ListRoom Version: 9