!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
126 Servers

Load older messages


SenderMessageTime
3 Aug 2021
@sternenseemann:systemli.orgsterni In other news: got pkgsLLVM.nix to build 21:47:50
@sternenseemann:systemli.orgsterni * In other news: got pkgsLLVM.nix to build 22:16:27
@piper:lutris.engineeringPiper McCorkle (she/her or they/them) joined the room.23:49:19
@piper:lutris.engineeringPiper McCorkle (she/her or they/them) set a profile picture.23:54:02
4 Aug 2021
@siraben:matrix.orgsiraben
In reply to @qyliss:fairydust.space
or help me with BSD
is Nix on BSD possible?
05:03:53
@qyliss:fairydust.spaceAlyssa Rosssiraben: yeah! I've been working on it for the past several months06:44:14
@qyliss:fairydust.spaceAlyssa Rossa recent milestone (last week I think?) is that Nix master builds on NetBSD with no changes required06:44:43
@qyliss:fairydust.spaceAlyssa RossNext on my list is a pure stdenv, and cross-compiling some bootstrap binaries06:50:59
@yuka:yuka.devYuka (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:matrix.orgsiraben Yuka: using the system's libc is a source of impurity 07:29:52
@siraben:matrix.orgsirabenthis is incompatible with Nix's design07:29:59
@yuka:yuka.devYuka (she/her)using the system's kernel is an impurity :)07:30:11
@siraben:matrix.orgsirabenwell, you have to draw the line somewhere07:30:22
@siraben:matrix.orgsirabenbut libcs vary far and wide07:30:34
@yuka:yuka.devYuka (she/her)And the netbsd developers say the line should be drawn before libc07:30:36
@yuka:yuka.devYuka (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
@qyliss:fairydust.spaceAlyssa Rossyuka: it will use its own libc07:35:32
@yuka:yuka.devYuka (she/her)oki, interesting :)07:35:42
@qyliss:fairydust.spaceAlyssa Rossthere's basically no reason not to afaict (and have talked to said NetBSD person a lot about it)07:36:12
@siraben:matrix.orgsirabenI'm not familiar with BSDs but will it work on OpenBSD as well?07:36:40
@qyliss:fairydust.spaceAlyssa Rossit has to be done for each BSD individually, but a lot should be transferrable07:37:01
@qyliss:fairydust.spaceAlyssa Rossadding another BSD should be a lot easier than adding the first BSD07:37:11
@qyliss:fairydust.spaceAlyssa RossOpenBSD is a lot more complicated because every OpenBSD version is incompatible07:37:26
@siraben:matrix.orgsirabenby design?07:37:33
@qyliss:fairydust.spaceAlyssa Rosswhereas NetBSD is backwards compatible going back 20 years, like Linux07:37:34
@qyliss:fairydust.spaceAlyssa Rossyeah07:37:35
@qyliss:fairydust.spaceAlyssa RossYou have to recompile every program whenever there's a new OpenBSD release 07:37:58
@sternenseemann:systemli.orgsterniat least recompiling everything all the time is already inherent to nix's design :p09:15:12
@qyliss:fairydust.spaceAlyssa Rossyeah, although you need to start by recompiling Nix, and there might be an awkward bootstrapping problem there09:15:55
@sternenseemann:systemli.orgsternibut OpenBSD will require constant maintenance to be useful and even more if we want to target multiple versions I guess09:15:55

Show newer messages


Back to Room ListRoom Version: 6