!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
127 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
18 Aug 2025
@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
@dramforever:matrix.orgdramforever it makes you get the right thing for python3Packages.callPackage 15:31:12
@dramforever:matrix.orgdramforeverwhich gives you non-spliced python packages15:31:20
@dramforever:matrix.orgdramforevermaybe this part is not intentional design15:31:31
@dramforever:matrix.orgdramforever i mean maybe python3Packages.callPackage is doing the wrong thing 15:31:55
@artturin:matrix.orgArtturinIt's a bug that the python hooks are one offset off15:32:22
@dramforever:matrix.orgdramforeverthat's what i mean, i'm not sure it's a bug15:32:53
@artturin:matrix.orgArtturinIt's a workaround which works around a another limitation 15:34:24
@dramforever:matrix.orgdramforeverthat i agree15:34:32
@artturin:matrix.orgArtturinFollow the issue link in https://github.com/NixOS/nixpkgs/issues/43430715:34:34

Show newer messages


Back to Room ListRoom Version: 6