!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

551 Members
116 Servers

Load older messages


SenderMessageTime
18 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughan Maybe it just fails earlier, I had --keep-going on but didn't spot it 14:14:50
@matthewcroughan:defenestrate.itmatthewcroughan on native musl, I don't see nix-util in the graph even 14:15:56
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
14:15:58
@dramforever:matrix.orgdramforeverbut we definitely build nix against musl right?14:16:12
@matthewcroughan:defenestrate.itmatthewcroughanI guess it comes later, so yeah nix-expr fails first, before I can get a look at nix-util14:16:15
@dramforever:matrix.orgdramforever* but we definitely build nix with musl right?14:16:20
@matthewcroughan:defenestrate.itmatthewcroughanit has worked a lot in the past yeah, though atm it's failing 14:16:26
@matthewcroughan:defenestrate.itmatthewcroughanI've never had an issue with it until this experiment 14:16:40
@dramforever:matrix.orgdramforeverwell maybe close_range is new14:17:01
@matthewcroughan:defenestrate.itmatthewcroughanlooks like 2024 according to blame14:17:21
@dramforever:matrix.orgdramforeverno look https://hydra.nixos.org/job/nix/master/buildStatic.nix-cli.x86_64-linux14:17:23
@matthewcroughan:defenestrate.itmatthewcroughanericsson was refactoring14:17:24
@dramforever:matrix.orgdramforeverit's working14:17:35
@matthewcroughan:defenestrate.itmatthewcroughanstatic and musl aren't the same are they?14:17:37
@dramforever:matrix.orgdramforevermusl 1.2.514:17:37
@matthewcroughan:defenestrate.itmatthewcroughanpkgsStatic vs pkgsMusl14:17:40
@dramforever:matrix.orgdramforeverthey're not but it is definitely musl14:17:48
@dramforever:matrix.orgdramforever so there's something going on in the headers and crap 14:17:56
@dramforever:matrix.orgdramforever

i can't think of anything else

diff --git a/src/libutil/unix/file-descriptor.cc b/src/libutil/unix/file-descriptor.cc
index 2b612e854..194dcb3b6 100644
--- a/src/libutil/unix/file-descriptor.cc
+++ b/src/libutil/unix/file-descriptor.cc
@@ -6,6 +6,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <poll.h>
+#include <sys/syscall.h>
 
 #include "util-config-private.hh"
 #include "util-unix-config-private.hh"
14:19:20
@emilazy:matrix.orgemilyisn't that going to break macOS14:48:12
@emilazy:matrix.orgemily pkgsStatic.nix breaks constantly fwiw 14:48:38
@matthewcroughan:defenestrate.itmatthewcroughanLix builds fine, weird14:48:44
@emilazy:matrix.orgemilyI get the impression it's not a priority14:48:45
@matthewcroughan:defenestrate.itmatthewcroughansetting nix.package to lix hasn't nuked nix from the graph 15:08:25
@matthewcroughan:defenestrate.itmatthewcroughan do I have to say nix = lix in an overlay instead? 15:08:33
@matthewcroughan:defenestrate.itmatthewcroughanIt seems that works, with the exception of switch-to-configuration who dies because of rust things 15:09:54
@matthewcroughan:defenestrate.itmatthewcroughanWhy is switch-to-configuration rust when I said system.switch.enableNg = false anyway?15:11:29
@matthewcroughan:defenestrate.itmatthewcroughanand why is it rust when nixos-rebuild-ng is python anyway?15:11:59
@k900:0upti.meK900Because old stc has been removed15:12:15
@matthewcroughan:defenestrate.itmatthewcroughanThe log for failure is very very obscure 15:12:45

Show newer messages


Back to Room ListRoom Version: 6