!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

347 Members
https://github.com/nix-community/NixOS-WSL61 Servers

Load older messages


SenderMessageTime
21 Dec 2022
@k900:0upti.meK900Yet another fix for yet more native systemd nonsense08:34:27
@k900:0upti.meK900https://github.com/nix-community/NixOS-WSL/actions/runs/3747686130/jobs/636425444508:45:43
@k900:0upti.meK900Uhh hello08:45:45
@k900:0upti.meK900Howst the fuc08:45:48
@k900:0upti.meK900 * Howst the fuck08:45:49
@sandro:supersandro.deSandro 🐧add the GITHUB_TOKEN to ~/.config/nix/nix.conf as access-tokens=github.com=$GITHUB_TOKEN23:41:19
23 Dec 2022
@greg:thehellings.comgreg joined the room.19:27:00
@greg:thehellings.comgregWith only a one line edit, I was able to build NixOS-WSL for Windows on ARM. Currently running element-desktop through it right now19:27:55
@greg:thehellings.comgreg \o/ 19:28:06
24 Dec 2022
@cycyone3:matrix.orgcycyone3 joined the room.02:52:43
30 Dec 2022
@federicodschonborn:matrix.orgFederico Schonborn joined the room.00:01:19
@sandro:supersandro.deSandro 🐧FYI https://github.com/NixOS/nixpkgs/pull/20830502:17:07
4 Jan 2023
@balaa:ether.aibalaa joined the room.23:01:48
5 Jan 2023
@sandro:supersandro.deSandro 🐧

K900 envfs and WSL? Do you think it is possible?
https://github.com/mic92/envfs

Currently fails with:

activating the configuration...
setting up /usr/share/applications...
setting up /usr/share/icons...
setting up /etc...
setting up /bin...
ln: failed to create symbolic link '/bin/wslpath': Function not implemented
ln: failed to create symbolic link '/bin/sh': Function not implemented
ln: failed to create symbolic link '/bin/mount': Function not implemented
Activation script snippet 'populateBin' failed (1)
setting up /bin/login...
ln: failed to create symbolic link '/bin/login': Function not implemented
Activation script snippet 'setupLogin' failed (1)
sops-install-secrets: Imported /etc/ssh/ssh_host_rsa_key as GPG key with fingerprint 5f896e41a035cc21d70ed4b65df655b64ce35e21
sops-install-secrets: Imported /etc/ssh/ssh_host_ed25519_key as age key with fingerprint age12v03lzm0kac3rcjt6qmkpsnpxkqv3pgdxjrxggzsrt6r3j4k3ugqms4k0y
setting up /sbin/init shim...
setting up tmpfiles
reloading the following units: dbus.service
restarting the following units: docker.service, nix-daemon.service
warning: error(s) occurred while switching to the new configuration
10:48:49
@sandro:supersandro.deSandro 🐧Maybe we can talk Mic into adding static overwrites?10:49:11
@k900:0upti.meK900WSL really wants some stuff present in /bin10:50:06
@k900:0upti.meK900That we'd probably need to plumb10:50:14
@sandro:supersandro.deSandro 🐧yeah, I know and it is a problem since forever. 10:50:25
@nzbr:nzbr.deArson CopperflameThe problem is that it needs those files before the mount can even happen, otherwise, it might even work without overwrites, though I'm not sure about that12:49:32
@sandro:supersandro.deSandro 🐧Removing https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems/envfs.nix#L17-L21 should fix it?13:38:22
@nzbr:nzbr.deArson CopperflameYes, but it'd make it way less useful as well...13:53:01
@sandro:supersandro.deSandro 🐧hmmm sigh14:18:29
@joerg:thalheim.ioMic92 joined the room.14:20:07
@sandro:supersandro.deSandro 🐧so I can just add the paths to https://github.com/Mic92/envfs/blob/45fd64a43f192f7207a305428ee773e408ee85ae/modules/envfs.nix#L12 Thanks for the help Mic9214:23:37
@nzbr:nzbr.deArson CopperflameYes, but that'll still break WSL if a required link doesn't exist before envfs is mounted14:27:52
@sandro:supersandro.deSandro 🐧Also if we leave the old files in the directory and mount envfs over it?14:48:12
@nzbr:nzbr.deArson CopperflameWhen the underlying derivation gets updated the links may become invalid14:48:53
@sandro:supersandro.deSandro 🐧sigh....14:50:10
@sandro:supersandro.deSandro 🐧where do they hardcode it? In the WSL binary blob? kernel?14:50:23
@nzbr:nzbr.deArson CopperflameThere has to be some kind of rootfs we don't get access to14:50:54

Show newer messages


Back to Room ListRoom Version: 9