| 21 Dec 2022 |
K900 | Yet another fix for yet more native systemd nonsense | 08:34:27 |
K900 | https://github.com/nix-community/NixOS-WSL/actions/runs/3747686130/jobs/6364254445 | 08:45:43 |
K900 | Uhh hello | 08:45:45 |
K900 | Howst the fuc | 08:45:48 |
K900 | * Howst the fuck | 08:45:49 |
Sandro 🐧 | add the GITHUB_TOKEN to ~/.config/nix/nix.conf as access-tokens=github.com=$GITHUB_TOKEN | 23:41:19 |
| 23 Dec 2022 |
| greg joined the room. | 19:27:00 |
greg | With only a one line edit, I was able to build NixOS-WSL for Windows on ARM. Currently running element-desktop through it right now | 19:27:55 |
greg | \o/ | 19:28:06 |
| 24 Dec 2022 |
| cycyone3 joined the room. | 02:52:43 |
| 30 Dec 2022 |
| Federico Schonborn joined the room. | 00:01:19 |
Sandro 🐧 | FYI https://github.com/NixOS/nixpkgs/pull/208305 | 02:17:07 |
| 4 Jan 2023 |
| balaa joined the room. | 23:01:48 |
| 5 Jan 2023 |
Sandro 🐧 | 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 🐧 | Maybe we can talk Mic into adding static overwrites? | 10:49:11 |
K900 | WSL really wants some stuff present in /bin | 10:50:06 |
K900 | That we'd probably need to plumb | 10:50:14 |
Sandro 🐧 | yeah, I know and it is a problem since forever. | 10:50:25 |
Arson Copperflame | The 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 that | 12:49:32 |
Sandro 🐧 | Removing https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems/envfs.nix#L17-L21 should fix it? | 13:38:22 |
Arson Copperflame | Yes, but it'd make it way less useful as well... | 13:53:01 |
Sandro 🐧 | hmmm sigh | 14:18:29 |
| Mic92 joined the room. | 14:20:07 |
Sandro 🐧 | so I can just add the paths to https://github.com/Mic92/envfs/blob/45fd64a43f192f7207a305428ee773e408ee85ae/modules/envfs.nix#L12
Thanks for the help Mic92 | 14:23:37 |
Arson Copperflame | Yes, but that'll still break WSL if a required link doesn't exist before envfs is mounted | 14:27:52 |
Sandro 🐧 | Also if we leave the old files in the directory and mount envfs over it? | 14:48:12 |
Arson Copperflame | When the underlying derivation gets updated the links may become invalid | 14:48:53 |
Sandro 🐧 | sigh.... | 14:50:10 |
Sandro 🐧 | where do they hardcode it? In the WSL binary blob? kernel? | 14:50:23 |
Arson Copperflame | There has to be some kind of rootfs we don't get access to | 14:50:54 |