!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
1 Feb 2023
@k900:0upti.meK900Well shit08:49:19
@k900:0upti.meK900I just found ANOTHER bug in those two lines08:49:25
@nzbr:nzbr.deArson Copperflame While you're at it: command grep should probably be something like ${pkgs.gnugrep}/bin/grep to avoid unfortunate surprises on exotic configs 08:51:12
@k900:0upti.meK900God I hate bash08:53:38
@nzbr:nzbr.deArson CopperflameUnderstandable08:55:59
@k900:0upti.meK900Kinda want to replace it with a Python script at this point08:56:14
@k900:0upti.meK900Or a Rust thingy08:58:20
@nzbr:nzbr.deArson CopperflameThe problem is that this is extraInit, so that won't work. Python's got its own problems. I've come to like powershell, but then I had to pass commands (as strings) from powershell to bash (for the tests so pwsh -> docker or wsl -> syschdemd -> bash) and the gates of hell opened before me08:59:01
@k900:0upti.meK900Haha09:00:18
@k900:0upti.meK900 eval $(${shim}/bin/split-path) goes brr 09:00:34
@k900:0upti.meK900(actually doing that btw)09:00:42
@k900:0upti.meK900https://github.com/nix-community/NixOS-WSL/pull/21409:18:14
@k900:0upti.meK900Actually did that btw09:18:17
@sandro:supersandro.deSandro 🐧Should we ask https://github.com/msteen/nixos-vscode-server to adopt into nixos-wsl?09:58:49
@sandro:supersandro.deSandro 🐧
In reply to @nzbr:nzbr.de
While you're at it: command grep should probably be something like ${pkgs.gnugrep}/bin/grep to avoid unfortunate surprises on exotic configs
aka mine 😆
09:59:03
@sandro:supersandro.deSandro 🐧
In reply to @nzbr:nzbr.de
The problem is that this is extraInit, so that won't work. Python's got its own problems. I've come to like powershell, but then I had to pass commands (as strings) from powershell to bash (for the tests so pwsh -> docker or wsl -> syschdemd -> bash) and the gates of hell opened before me
na, no more powershell. I want to be able to fix my things.
09:59:44
@nzbr:nzbr.deArson Copperflame
In reply to @sandro:supersandro.de
Should we ask https://github.com/msteen/nixos-vscode-server to adopt into nixos-wsl?
I'm running that and it works fine. In theory, we could just import that flake
10:00:04
@sandro:supersandro.deSandro 🐧Same, just was thinking if this would make things easier for us10:02:07
@sandro:supersandro.deSandro 🐧I am not sure if we should do the updater in the distro launcher10:17:38
@sandro:supersandro.deSandro 🐧IMO it probably opens a new area of problems10:17:56
@nzbr:nzbr.deArson Copperflame It's a script at a fixed location inside the tarball (/nix/wsl-installer/updater.sh currently), that the launcher runs. It's possible to run the updater without the launcher and the release notes will describe both options 10:20:11
@nzbr:nzbr.deArson Copperflameimage.png
Download image.png
10:42:11
@nzbr:nzbr.deArson CopperflameThe magic 22.11 progress-bar just turned green. Now is your chance to come up with possible release names (or emergency blockers that should be in the release)10:43:03
@nzbr:nzbr.deArson Copperflame * The magic 22.11 progress-bar just turned green. Now is your chance to come up with possible release names (or emergency fixes that should be in the release)10:43:19
@sandro:supersandro.deSandro 🐧 Why are we not using a standard path like something in /nix/var/nix/profiles/system/? Then we would not need to link that ourself. 12:42:19
@sandro:supersandro.deSandro 🐧I mean the updater in itself is a bad idea. NixOS can be configured in so many different ways especially with flakes that it will break for a good chunk of people and I don't want to accumulate all kinds of workarounds for that.12:43:20
@k900:0upti.meK900When would the updater be triggered anyway?12:44:23
@nzbr:nzbr.deArson Copperflame When you run the script or nixos.exe update 12:44:49
@k900:0upti.meK900Maybe we should just make it link to some upgrade guide12:44:52
@k900:0upti.meK900So it's not required for anything external?12:45:04

Show newer messages


Back to Room ListRoom Version: 9