| 12 Sep 2023 |
Alex S | NixOS with a freebsd kernel | 18:31:18 |
Alex S |  Download image.png | 18:31:41 |
Alex S | I like your commit messages | 18:31:43 |
rhelmot | thanks. squash and merge will be a friend | 18:31:59 |
rhelmot | challenges between now and nixbsd mostly include hooking up the nixos system confiruation mechanisms (which I have literally no idea how they work yet) to the freebsd system layout (notably, cannot use systemd). building the kernel will be easy | 18:33:14 |
rhelmot | I also have a branch which attempts to get a desktop environment running but I can't even test if it builds because I don't have the disk space for the source files 😿 | 18:33:50 |
Alex S | In reply to @rhelmot:matrix.org that's the goal!!!! I was joking XD | 18:35:45 |
Alex S | In reply to @rhelmot:matrix.org I also have a branch which attempts to get a desktop environment running but I can't even test if it builds because I don't have the disk space for the source files 😿 oof | 18:35:52 |
👉@crystallinefire:chat.solarpunk.moe | In reply to @ultra:beeper.com I was joking XD i'm not i think it would be awesome | 18:38:01 |
Alex S | In reply to @hive:the-apothecary.club i'm not i think it would be awesome yeah it would be | 18:38:12 |
John Ericson | rhelmot: hi | 18:56:02 |
John Ericson | I feel like we might have talked about this before? | 18:56:09 |
John Ericson | or maybe just similar conversations with others? | 18:56:15 |
John Ericson | Have you talked to Alyssa Ross about this? | 18:56:22 |
rhelmot | No, I don't recall having talked to you or alyssa about this at all. Alyssa has been around while I've been complaining about the in-progress stuff but there's been no intersection. | 18:57:54 |
rhelmot | John Ericson: can I ask what you mean by not seeing any overlap? My understanding is that the userland is already part of nixpkgs, so a tarball of that could easily replace the impure bootstrap I did. | 19:09:00 |
John Ericson | the packages you modified we can already cross compile | 19:09:37 |
John Ericson | and the stuff in pkgs/os-specific/bsd/freebsd should replace most/all of pkgs/stdenv/freebsd | 19:09:57 |
rhelmot | how does cross compiling help with the case that I'm trying to address, which is that I'm running nix on freebsd? | 19:11:41 |
rhelmot | correct me if I'm wrong, but in order to use a binary substitute, you need to boot the same stdenv as the builder in order to get the hashes to match? | 19:12:23 |
John Ericson | I mean there is no reason to modify those packages | 19:12:58 |
John Ericson | if we can build them cross + pure, we can also build them native + pure | 19:13:19 |
John Ericson | if you need to change a package, that is not because native, that is because impurities | 19:13:35 |
John Ericson | the impure stdenv will be a different in a number of small inconsequential but papercut-causing ways | 19:13:54 |
John Ericson | it is not maintainable to support those paper cuts on every package | 19:14:06 |
rhelmot | so what's the deal with the various platform checks scattered throughout every package that I've looked at? | 19:14:44 |
rhelmot | I recognize that I'm new to nix, but I have a hard time believing that the purity guarantees are really that strong, especially on freebsd where you don't get bind mounting. | 19:16:26 |
rhelmot | like no ill will if all of my work is obsoleted, but I just don't understand it | 19:17:35 |
John Ericson | there are certainly still platform checks needed | 19:41:23 |
John Ericson | don't get me worng | 19:41:27 |