| 30 Jan 2023 |
K900 | Also I just realized this isn't entirely accurate | 14:06:57 |
K900 | We can also panic if there's no argv[0] | 14:07:06 |
K900 | But that should definitely never happen if we're init | 14:07:12 |
Sandro 🐧 | Do we still need https://github.com/nix-community/NixOS-WSL/blob/main/modules/wsl-distro.nix#L65-L68 ?
For me wslpath from /bin is used | 14:09:33 |
K900 | Probably not | 14:10:08 |
K900 | https://github.com/nix-community/NixOS-WSL/blob/main/modules/wsl-distro.nix#L103 | 14:10:08 |
K900 | Though I guess you could technically not have /bin on PATH at all | 14:10:55 |
Sandro 🐧 | In reply to @k900:0upti.me Actually maybe we should make the shim explode if it's not running as pid1 I would suggest to add some helpful message that the binary should not be run manually and things are different from what we expect | 14:11:33 |
K900 | Sounds good to me | 14:11:56 |
K900 | Want to PR it? I feel like complete shit so I probably won't get to it until tomorrow | 14:12:45 |
Sandro 🐧 | https://github.com/nix-community/NixOS-WSL/pull/209 | 14:12:55 |
Sandro 🐧 | Can we easily make https://github.com/nix-community/NixOS-WSL/blob/main/modules/wsl-distro.nix#L31-L35 available to envfs? | 14:54:16 |
Sandro 🐧 | I guess thgrough an internal option | 14:54:31 |
K900 | I don't think we want to | 14:55:37 |
K900 | That whole thing is one big hack to make WSL's init happy | 14:55:54 |
Sandro 🐧 | I need it for envfs at evaluation time | 14:59:48 |
Sandro 🐧 | I'll make it readOnly and internal so no one can see it | 14:59:58 |
Sandro 🐧 | Also FYI I am probably doing a PR to convert the options to mdDoc in the future for a side project | 15:00:34 |
| 31 Jan 2023 |
Arson Copperflame | In reply to @sandro:supersandro.de Also FYI I am probably doing a PR to convert the options to mdDoc in the future for a side project I wanted to put something like Antora UI in there, but I haven't gotten around to that yet. What is your plan exactly? | 00:08:47 |
Sandro 🐧 | I want to setup a search.nixorg.org for all the flakes and custom things I am using | 00:10:05 |
Arson Copperflame | You mean the Flakes tab? That'd be cool as well. I wanted to use Antora UI to be able to put additional guides and such in there as well. From what I understand, mdDoc still evaluates to the same format that nixpkgs uses, right? So we could have both | 00:19:16 |
Sandro 🐧 | No, native. | 00:27:00 |
Sandro 🐧 | * No, native. That the options are inline with the other options from nixos. | 00:27:16 |
Sandro 🐧 | with mdDoc you cannot use html inline anymore | 00:27:37 |
Arson Copperflame | I don't mean what we write in the module itself, but what comes out of nix on the other end (docbook xml normally). With mdDoc being a library function, and nixpkgs only using it in some places I'd expect it to create compatible output | 01:13:22 |
K900 |  Download image.png | 19:55:35 |
K900 | Observe my cube | 19:55:36 |
K900 | Now in every unstable-small | 19:55:41 |
K900 | And I just had a horrible idea | 19:57:11 |
K900 | https://gitlab.freedesktop.org/mesa/mesa/-/commit/237e12c2dfa7b505ba221ca7c29947b5cdb91da0#9489c9ba7c9c6e53fb67125374e5c3ff3d141270_1003_1003 | 20:15:29 |