!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

338 Members
https://github.com/nix-community/NixOS-WSL57 Servers

Load older messages


SenderMessageTime
8 Jan 2023
@vika:fireburn.ruVika (she/her) joined the room.16:09:04
@nzbr:nzbr.deArson Copperflame
In reply to @k900:0upti.me
"NixOS on WSL: we get shocked by how it doesn't work, so you get shocked by how it does"
We should put that in the channel description, lol
18:00:04
9 Jan 2023
@greg:thehellings.comgreg
In reply to @okeydokeyartichokey:matrix.org

What are folks' main use-cases for this btw?

I was doing something where I wanted to reference a dll so I could use a python library against something proprietary on windows - very rare for me to use windows otherwise

Low power Arm Windows laptop that doesn't support native Linux. But still lets me keep my familiar environment
00:06:23
@greg:thehellings.comgregJust changing the x86 to aarch in the repo flake.nix file built me a perfectly acceptable native image00:07:40
@nzbr:nzbr.deArson Copperflame @greg:thehellings.com: The only reason, that I haven't put an aarch64 build into the CI and releases is that I have no way to test it. Cool that it seems to work though! 00:36:05
12 Jan 2023
@daniel:nopemail.orgdaniel joined the room.12:56:56
15 Jan 2023
@ecmacat:matrix.orgecmacat joined the room.12:43:49
@ecmacat:matrix.orgecmacat hi! I tried to update to the latest version on main branch, but a "nixos-rebuild switch" starts compiling gtk3? 12:46:34
@ecmacat:matrix.orgecmacat Is anything related to this updated in the last months? 12:46:48
@k900:0upti.meK900What NixOS channel are you on?12:49:39
@ecmacat:matrix.orgecmacat 22.11 12:54:14
@ecmacat:matrix.orgecmacat I am also using home-manager; disabling home-manager solves this so I assume it might be related to hm configuration... 12:55:00
@ecmacat:matrix.orgecmacat Okay, rebuilt the wsl tarball from source and it worked 14:01:25
@ecmacat:matrix.orgecmacat I actually downloaded the 22.05 tarball and tried to upgrade to 22.11, and something went wrong in the process. Building the latest commit and install 22.11 from scratch works. 14:02:51
@ecmacat:matrix.orgecmacat * I actually downloaded the 22.05 tarball and tried to upgrade to 22.11 by extracting the latest commit into /etc/nixos/nixos-wsl, and something went wrong in the process. Building the latest commit and install 22.11 from scratch works. 14:03:22
@ecmacat:matrix.orgecmacat * I actually downloaded the 22.05 tarball and tried to upgrade to 22.11 by extracting the latest commit into /etc/nixos/nixos-wsl (while also upgrading channels), and something went wrong in the process. Building the latest commit and install 22.11 from scratch works. 14:03:48
@ecmacat:matrix.orgecmacat * I actually downloaded the 22.05 tarball and tried to upgrade to 22.11 by extracting the latest commit into /etc/nixos/nixos-wsl (while also upgrading channels), and something went wrong in the process. Building the latest commit and installing 22.11 from scratch works. 14:04:12
@k900:0upti.meK900I'm honestly not too sure how the installer tarballs work, I just have the config integrated in my flake14:16:24
16 Jan 2023
@dx1nt:matrix.orgdx1nt left the room.02:13:32
@sandro:supersandro.deSandro 🐧could be because of noXLibs maybe?15:03:33
@k900:0upti.meK900Didn't we disable that15:05:05
@sandro:supersandro.deSandro 🐧maybe we didn't in the past15:09:15
@nzbr:nzbr.deArson Copperflame
In reply to @k900:0upti.me
I'm honestly not too sure how the installer tarballs work, I just have the config integrated in my flake
It just does a fancy tar xz of the rootfs
15:17:50
@nzbr:nzbr.deArson CopperflamenoXLibs has been removed some time after WSLg released15:18:24
17 Jan 2023
@ecmacat:matrix.orgecmacatI guess the documentation for NixOS-WSL is not quite complete?11:42:23
@k900:0upti.meK900What exactly are you missing?11:42:43
@ecmacat:matrix.orgecmacat For example, there's no explanation on the use of docker-native and docker-desktop 11:42:46
@ecmacat:matrix.orgecmacat What's the difference between using docker-native and virtualisation.docker.enable 11:43:10
@nzbr:nzbr.deArson Copperflame docker-native is a wrapper around virtualisation.docker.enable that uses a patched docker derivation, because the original one will not work under WSL 11:44:04
@nzbr:nzbr.deArson Copperflame docker-desktop tries to set up a connection to Docker Desktop running on the Windows host, but it's a little flakey unfortunately 11:45:54

Show newer messages


Back to Room ListRoom Version: 9