!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

556 Members
119 Servers

Load older messages


SenderMessageTime
16 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughanI don't see how this patch is any more or less relevant than some of the kmod or systemd patches we carry16:00:58
@matthewcroughan:defenestrate.itmatthewcroughanBTW, if you feel like more hacking, kmod needs to be version bumped, and that patch is crazy16:01:17
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/linux/kmod/module-dir.patch16:01:33
@matthewcroughan:defenestrate.itmatthewcroughan This makes kmod accept a list of arguments instead of a hardcoded fhs dir 16:02:04
@matthewcroughan:defenestrate.itmatthewcroughannecessary for nixos, similar to your musl patch :)16:02:11
@matthewcroughan:defenestrate.itmatthewcroughanAnd we're 3 versions behind on kmod because they've moved to meson, and this patch isn't upstreamed16:02:55
@dramforever:matrix.orgdramforevervendoring my musl patch in nixpkgs is a violation of https://do-not-ship-work-in-progress.gitlab.io/16:03:59
@matthewcroughan:defenestrate.itmatthewcroughanIs it any more or less WIP than the kmod patch?16:04:31
@dramforever:matrix.orgdramforeverthe kmod module-dir.patch doesn't apply because it's nixos specific16:04:34
@dramforever:matrix.orgdramforeverso we can't not ship it in nixpkgs16:04:44
@matthewcroughan:defenestrate.itmatthewcroughani 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.itmatthewcroughanIt's a bit of a blurry line16:05:12
@matthewcroughan:defenestrate.itmatthewcroughanI 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.itmatthewcroughanI'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.itmatthewcroughanMaybe need to find more and provide them as examples to upstream16:06:32
@matthewcroughan:defenestrate.itmatthewcroughanOr maybe the systemd kmod context example is good enough :D16:06:52
@matthewcroughan:defenestrate.itmatthewcroughanBut 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.itmatthewcroughanYeah makes sense, I respect that 16:11:04
@matthewcroughan:defenestrate.itmatthewcroughanDamn, why is perl so unstable with musl 16:11:13
@matthewcroughan:defenestrate.itmatthewcroughannix used to build just fine, now it's all broken because of perl deps 16:11:21
@matthewcroughan:defenestrate.itmatthewcroughan
┃          ┌─ ⏸ 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 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
/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 Alyssa Ross: O.o (https://github.com/NixOS/nixpkgs/pull/452642#discussion_r2436725816) how do you upstream to perl? 16:57:10
@matthewcroughan:defenestrate.itmatthewcroughanI'm young16:57:15
@matthewcroughan:defenestrate.itmatthewcroughanLooks 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.itmatthewcroughanYeah I meant to the perl ecosystem17:00:18

Show newer messages


Back to Room ListRoom Version: 6