| 27 Aug 2023 |
| @uuuvn:dendrite.fail changed their display name from uuuvn to uuuvn 📎. | 15:31:48 |
Artturin | https://github.com/NixOS/nixpkgs/issues/114332 | 23:04:21 |
Artturin | windows is exotic in the nix world right? :) | 23:05:17 |
👉@crystallinefire:chat.solarpunk.moe | do people still use wsl1 ? | 23:07:45 |
Artturin | searched wsl1 in the issues and found https://github.com/NixOS/nixpkgs/issues/24954 which was closed with the conclusion that wsl1 is not worth supporting and then a wiki note was added | 23:09:18 |
Artturin | Closed 114332 | 23:09:45 |
| 28 Aug 2023 |
Alex | In reply to @artturin:matrix.org windows is exotic in the nix world right? :) I think so. Even WSL2 doesn't work perfectly because only single-user Nix is supported there. | 19:21:35 |
| 29 Aug 2023 |
@penguincoder:matrix.wolfie.pw | Possibly, WSL2 has support for systemd but I don't think it's on by default. That's more multi-user friendly, but it's probably more complication than it's worth most of the time. | 17:17:07 |
Alex | In reply to @penguincoder:matrix.wolfie.pw Possibly, WSL2 has support for systemd but I don't think it's on by default. That's more multi-user friendly, but it's probably more complication than it's worth most of the time. It's possible to run systemd using namespaces, but it's not pretty and quite fragile. | 17:45:52 |
7c6f434c | Strictly speaking, Nix multi-user runs just fine without systemd, but on Linux it expects to have namespaces working fully. | 19:22:09 |
| 31 Aug 2023 |
John Ericson | https://github.com/NixOS/nix/pull/8887 it's here! Easier than I thought it was gonna be | 04:22:36 |
trofi | Well done! Looks like it's just nix cross-compiling, not the nixpkgs :) | 14:52:52 |
raitobezarius | well I believe nixpkgs have some stuff in place for it | 14:57:10 |
@penguincoder:matrix.wolfie.pw | In reply to @Ericson2314:matrix.org https://github.com/NixOS/nix/pull/8887 it's here! Easier than I thought it was gonna be wow! I have been hoping to start using nix in freebsd for a hot minute. I can't wait to try it out. | 17:27:39 |
rhelmot | this doesn't make the stdenv actually boot on freebsd does it? I have been trying to do that for several months | 17:28:49 |
John Ericson | nope | 17:29:13 |
John Ericson | this is just using the existing thing in Nixpkgs by Nix | 17:29:29 |
rhelmot | how are the resulting cross-compiled binaries actually runnable? are they linked against libc.so.7 and the bsd /libexec/ld-elf.so.1 or do you need the nix store on your target system to use them? | 17:31:41 |
John Ericson | rhelmot: who knows! | 17:39:40 |
John Ericson | that is a question for Alyssa Ross, who unlike me has tested them | 17:39:52 |
John Ericson | IMO worst cash do some patchelf and then it should be OK? | 17:40:05 |
John Ericson | maybe I can make some statically linkedones | 17:40:29 |
John Ericson | * maybe I can make some statically linked ones | 17:40:34 |
Alyssa Ross | they are dynamically linked by default, so you of course need the nix store | 18:00:26 |
Alyssa Ross | but static linking should work, at least for NetBSD | 18:00:32 |
@penguincoder:matrix.wolfie.pw | how do you get a BSD bootstrapped with a working nix binary? is there anything written anywhere? | 18:06:00 |
rhelmot | you don't :) freebsd right now isn't even listed in the "unsupported targets" list in nixpkgs, it's commented out as "doesn't work" | 18:07:03 |
rhelmot | which is why I'm really interested in how this works, that understanding can't possibly be right if that's what alyssa is saying! | 18:07:34 |
rhelmot | oh you're asking about other bsds, not just freebsd. I think netbsd and openbsd (?) have real stdenvs | 18:09:00 |
Alyssa Ross | right now BSD only really works if you cross-compile to it from Linux | 18:13:12 |