!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

341 Members
https://github.com/nix-community/NixOS-WSL58 Servers

Load older messages


SenderMessageTime
30 Jan 2023
@k900:0upti.meK900Also I just realized this isn't entirely accurate14:06:57
@k900:0upti.meK900 We can also panic if there's no argv[0] 14:07:06
@k900:0upti.meK900 But that should definitely never happen if we're init 14:07:12
@sandro:supersandro.deSandro 🐧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 used14:09:33
@k900:0upti.meK900Probably not14:10:08
@k900:0upti.meK900https://github.com/nix-community/NixOS-WSL/blob/main/modules/wsl-distro.nix#L10314:10:08
@k900:0upti.meK900Though I guess you could technically not have /bin on PATH at all14:10:55
@sandro:supersandro.deSandro 🐧
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:0upti.meK900Sounds good to me14:11:56
@k900:0upti.meK900Want to PR it? I feel like complete shit so I probably won't get to it until tomorrow 14:12:45
@sandro:supersandro.deSandro 🐧https://github.com/nix-community/NixOS-WSL/pull/20914:12:55
@sandro:supersandro.deSandro 🐧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:supersandro.deSandro 🐧I guess thgrough an internal option14:54:31
@k900:0upti.meK900I don't think we want to 14:55:37
@k900:0upti.meK900That whole thing is one big hack to make WSL's init happy 14:55:54
@sandro:supersandro.deSandro 🐧I need it for envfs at evaluation time14:59:48
@sandro:supersandro.deSandro 🐧I'll make it readOnly and internal so no one can see it14:59:58
@sandro:supersandro.deSandro 🐧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
@nzbr:nzbr.deArson 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:supersandro.deSandro 🐧I want to setup a search.nixorg.org for all the flakes and custom things I am using00:10:05
@nzbr:nzbr.deArson CopperflameYou 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 both00:19:16
@sandro:supersandro.deSandro 🐧No, native.00:27:00
@sandro:supersandro.deSandro 🐧 * No, native. That the options are inline with the other options from nixos. 00:27:16
@sandro:supersandro.deSandro 🐧with mdDoc you cannot use html inline anymore00:27:37
@nzbr:nzbr.deArson CopperflameI 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 output01:13:22
@k900:0upti.meK900image.png
Download image.png
19:55:35
@k900:0upti.meK900Observe my cube19:55:36
@k900:0upti.meK900Now in every unstable-small19:55:41
@k900:0upti.meK900And I just had a horrible idea19:57:11
@k900:0upti.meK900https://gitlab.freedesktop.org/mesa/mesa/-/commit/237e12c2dfa7b505ba221ca7c29947b5cdb91da0#9489c9ba7c9c6e53fb67125374e5c3ff3d141270_1003_100320:15:29

Show newer messages


Back to Room ListRoom Version: 9