!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
127 Servers

Load older messages


SenderMessageTime
16 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemi would argue that the musl patch is nixos specific too, at least I'm sure when you upstream it someone might say something like that 16:04:54
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemIt's a bit of a blurry line16:05:12
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemI mean, I wonder how many other edge cases are encountered in musl in nixpkgs because of the lack of the patch you just made 16:05:51
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemI'm sure it shows up in other places 16:06:03
@dramforever:matrix.orgdramforeverwhen upstream says they don't want it then we'll talk16:06:28
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemMaybe need to find more and provide them as examples to upstream16:06:32
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemOr maybe the systemd kmod context example is good enough :D16:06:52
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemBut yes, very excited about it working, so good16:07:01
@dramforever:matrix.orgdramforever anyway the real point is that i wrote the patch and it's wip from me so i'm going to say no 16:08:12
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemYeah makes sense, I respect that 16:11:04
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemDamn, why is perl so unstable with musl 16:11:13
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemnix used to build just fine, now it's all broken because of perl deps 16:11:21
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem
┃          ┌─ ⏸ unit-systemd-tmpfiles-resetup.service
┃          │           ┌─ ⏸ nixos-rebuild-ng-0.0.0-aarch64-unknown-linux-musl waiting for 2 ⏵
┃          │           │        ┌─ ⏵ perl5.40.0-DBI-1.644-aarch64-unknown-linux-musl (buildPhase) ⏱ 4m41s
┃          │           │     ┌─ ⏸ nix-perl-aarch64-unknown-linux-musl-2.31.2
┃          │           │     ├─ ⏵ nix-expr-aarch64-unknown-linux-musl-2.31.2 (buildPhase) ⏱ 23s
┃          │           │  ┌─ ⏸ nix-aarch64-unknown-linux-musl-2.31.2
16:11:30
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem perl5.40.0-DBI-1.644-aarch64-unknown-linux-musl be broken, as well as nix-expr-aarch64-unknown-linux-musl-2.31.2 due to function names 16:11:55
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem
/nix/store/bvp4jwn1ibkjh7yhr2mlcxxd908y4x4v-perl-5.40.0/lib/perl5/5.40.0/aarch64-linux-thread-multi/CORE/perl.h:3358:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 3358 | #       define Off_t off64_t
      |
16:12:04
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem Alyssa Ross: O.o (https://github.com/NixOS/nixpkgs/pull/452642#discussion_r2436725816) how do you upstream to perl? 16:57:10
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemI'm young16:57:15
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemLooks like https://github.com/perl5-dbi/dbi actually17:00:08
@qyliss:fairydust.spaceAlyssa Rossit's not to perl, it's just a perl package17:00:09
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemYeah I meant to the perl ecosystem17:00:18
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemlike it's not always clear where the sources or appropriate upstream path is17:00:33
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemsometimes github, sometimes mailing lists, sometimes nowhere 17:00:40
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem and since we use mirror:// that further masks it 17:01:00
@qyliss:fairydust.spaceAlyssa Rosslooks like they merge PRs in this case17:01:12
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemNIce!17:01:16
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem* Nice!17:01:22
@qyliss:fairydust.spaceAlyssa RossBTW: if something is going to be broken on every musl distro (like this fix), please try to take the fix upstream before working around it in Nixpkgs. If we all do this (and the other distros usually do), it's less work for all of us than if we all have to separately apply the same workarounds downstream.17:02:29
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem I can't find a reference to off64_t in their sources on github 17:02:31
@qyliss:fairydust.spaceAlyssa Rosshmm, maybe it got fixed already?17:02:42
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemThe reason I make the PRs isn't always to get it merged, but to provide a reproducer that allows others to tell me that it should be upstreamed17:03:06

Show newer messages


Back to Room ListRoom Version: 6