!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

568 Members
124 Servers

Load older messages


SenderMessageTime
18 Aug 2025
@quadradical:federated.nexusQuadRadical (Ping)ahhh, thank you!!00:10:40
@artturin:matrix.orgArtturinDidn't 🤔00:11:32
@quadradical:federated.nexusQuadRadical (Ping) i was thinking adding python to nativeBuildInputs might help but idk 00:12:16
@artturin:matrix.orgArtturinNvm I tried building again and I started the build before saving the fix 00:14:24
@artturin:matrix.orgArtturinGot a different error now00:14:30
@artturin:matrix.orgArtturin
waveflag.c:19:10: fatal error: cairo.h: No such file or directory
   19 | #include <cairo.h>
      |          ^~~~~~~~~
compilation terminated.
00:14:44
@artturin:matrix.orgArtturinneeds cairo in buildInputs00:15:07
@quadradical:federated.nexusQuadRadical (Ping)hmm ok00:15:19
@artturin:matrix.orgArtturinIf strictDeps was enabled then this would be caught on native too00:15:20
@quadradical:federated.nexusQuadRadical (Ping)i want to thank you for all your help today, i really appreciate it00:16:23
@artturin:matrix.orgArtturinYou're welcome00:18:28
@quadradical:federated.nexusQuadRadical (Ping) but wait, cairo is nativeBuildInputs 00:21:35
@quadradical:federated.nexusQuadRadical (Ping)* but wait, cairo is in nativeBuildInputs00:21:40
@quadradical:federated.nexusQuadRadical (Ping)oh does it need to be in buildInputs instead of native?00:21:49
@artturin:matrix.orgArtturinFailed with it in buildInputs too00:23:00
@artturin:matrix.orgArtturinChecked the source and it's building a program for running during the build00:23:09
@quadradical:federated.nexusQuadRadical (Ping)hmm interesting00:23:25
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/no/noto-fonts-color-emoji/package.nix#L27 noto-color-fonts-emoji already works for cross00:23:29
@artturin:matrix.orgArtturinso I'll copy it's dpes00:23:35
@artturin:matrix.orgArtturin* so I'll copy it's deps00:23:38
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/43430812:05:19
@dramforever:matrix.orgdramforeverhow do i reproduce this problem?15:23:35
@dramforever:matrix.orgdramforeverlike, i mean, how do i know i got the wrong yaml-merge15:23:59
@dramforever:matrix.orgdramforeveroh, i get a non-cross'd yaml-merge15:26:36
@artturin:matrix.orgArtturin pkgsCross.aarch64-multiplatform.yaml-merge and check the shell wrapper and python wrapper shebangs 15:29:55
@dramforever:matrix.orgdramforeveri got it15:30:04
@dramforever:matrix.orgdramforeverbut then this feels like an intentional design to me15:30:18
@artturin:matrix.orgArtturinIt's not15:30:37
@artturin:matrix.orgArtturinyaml-merge is run in the systemd service itself, not during the system build15:30:59
@dramforever:matrix.orgdramforeveri mean the wrapPython thing15:31:10

Show newer messages


Back to Room ListRoom Version: 6