| 3 Aug 2021 |
sterni | In other news: got pkgsLLVM.nix to build | 21:47:50 |
sterni | * In other news: got pkgsLLVM.nix to build | 22:16:27 |
| Piper McCorkle (she/her or they/them) joined the room. | 23:49:19 |
| Piper McCorkle (she/her or they/them) set a profile picture. | 23:54:02 |
| 4 Aug 2021 |
siraben | In reply to @qyliss:fairydust.space or help me with BSD is Nix on BSD possible? | 05:03:53 |
Alyssa Ross | siraben: yeah! I've been working on it for the past several months | 06:44:14 |
Alyssa Ross | a recent milestone (last week I think?) is that Nix master builds on NetBSD with no changes required | 06:44:43 |
Alyssa Ross | Next on my list is a pure stdenv, and cross-compiling some bootstrap binaries | 06:50:59 |
Yuka (she/her) | A netbsd developer we both know said libc is considered part of the system on netbsd and an application should almost never bring its own libc. Will the pure stdenv use the libc from the system or bring its own? | 06:56:54 |
siraben | Yuka: using the system's libc is a source of impurity | 07:29:52 |
siraben | this is incompatible with Nix's design | 07:29:59 |
Yuka (she/her) | using the system's kernel is an impurity :) | 07:30:11 |
siraben | well, you have to draw the line somewhere | 07:30:22 |
siraben | but libcs vary far and wide | 07:30:34 |
Yuka (she/her) | And the netbsd developers say the line should be drawn before libc | 07:30:36 |
Yuka (she/her) | That's why I ask how Alyssa Ross is planning to implement the stdenv. The answer is much less obvious than on Linux systems. | 07:31:14 |
Alyssa Ross | yuka: it will use its own libc | 07:35:32 |
Yuka (she/her) | oki, interesting :) | 07:35:42 |
Alyssa Ross | there's basically no reason not to afaict (and have talked to said NetBSD person a lot about it) | 07:36:12 |
siraben | I'm not familiar with BSDs but will it work on OpenBSD as well? | 07:36:40 |
Alyssa Ross | it has to be done for each BSD individually, but a lot should be transferrable | 07:37:01 |
Alyssa Ross | adding another BSD should be a lot easier than adding the first BSD | 07:37:11 |
Alyssa Ross | OpenBSD is a lot more complicated because every OpenBSD version is incompatible | 07:37:26 |
siraben | by design? | 07:37:33 |
Alyssa Ross | whereas NetBSD is backwards compatible going back 20 years, like Linux | 07:37:34 |
Alyssa Ross | yeah | 07:37:35 |
Alyssa Ross | You have to recompile every program whenever there's a new OpenBSD release | 07:37:58 |
sterni | at least recompiling everything all the time is already inherent to nix's design :p | 09:15:12 |
Alyssa Ross | yeah, although you need to start by recompiling Nix, and there might be an awkward bootstrapping problem there | 09:15:55 |
sterni | but OpenBSD will require constant maintenance to be useful and even more if we want to target multiple versions I guess | 09:15:55 |