<qyliss>
oh, sorry, I misread which error you said
<qyliss>
that one is an issue I'm aware of
<qyliss>
and is FreeBSD-specific
<qyliss>
FreeBSD support in Nixpkgs is not in a very good place at the moment
<qyliss>
We're probably going to end up coming at it from a different direction than we've tried previously, by first getting cross-compilation to FreeBSD going, then native compilation on FreeBSD
<qyliss>
we're also trying the same thing for NetBSD, and that's quite a bit further along at the moment
<orion>
Is that particular error caused by "nixpkgs.stdenv.cc.libc" evaluating to null?
<qyliss>
IIRC yes
<qyliss>
which happens because it uses the native libc, not one build with nix
<qyliss>
(our current approach of cross first, which we could use to build bootstrap binaries for native, would solve this problem by having native use a non-null libc)
<orion>
If I understand correctly, nix wants to build FreeBSD's libc?
<qyliss>
no, it wants to use your system's libc
<qyliss>
but most Nix packages don't understand that, because it doesn't do that on Linux or macOS
<orion>
Sorry, I meant to ask if that's what the ultimate goal is.
<orion>
(As opposed to what is currently happening)
<qyliss>
oh, yes
<orion>
I am fairly new to Nix, but not to functional programming. Is there anything I can do to help?
<qyliss>
Ericson2314 might have some ideas
<qyliss>
it's mostly the two of us pushing BSD support right now, but I'm focusing on NetBSD atm
<Ericson2314>
orion: you can always try just picking up that WIP PR and hammering on it, but it will be hard
<Ericson2314>
i you could take the netbsd stuff and make a functional qemu image that would also be super useful
<Ericson2314>
ultimately I hope we can have non-linux NixOS