!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

556 Members
119 Servers

Load older messages


SenderMessageTime
24 Aug 2025
@tpw_rules:matrix.orgtpw_rulesoh dang. i might try to just revert the qemu upgrade then15:53:41
@tpw_rules:matrix.orgtpw_rulesdid you get any further on a diagnosis?15:54:27
@artturin:matrix.orgArtturin

Tester

let
  pkgs = import ./. { };
  pkgsCross = pkgs.pkgsCross.aarch64-multiplatform.__splicedPackages;
in
{
  cache = pkgs.makeFontsCache {
    fontconfig = pkgs.fontconfig;
    fontDirectories = with pkgs; [
      dejavu_fonts
      liberation_ttf
    ];
  };

  # Fails
  cacheCross = pkgsCross.makeFontsCache {
    fontconfig = pkgsCross.fontconfig;
    fontDirectories = with pkgsCross; [
      dejavu_fonts
      liberation_ttf
    ];
  };
}
16:02:45
@artturin:matrix.orgArtturin nix build -f test.nix cacheCross 16:02:55
@artturin:matrix.orgArtturin At 72f5bfc3b5338a608e268fa867d4706dec66fd25 cacheCross still builds, on master it faild 16:03:48
@artturin:matrix.orgArtturin * At 72f5bfc3b5338a608e268fa867d4706dec66fd25 cacheCross still builds, on master it fails 16:03:49
@artturin:matrix.orgArtturin(Just a random rev from my one of my PR branches)16:04:21
@tpw_rules:matrix.orgtpw_rulesi have some spare CPU cycles, i can take some shots in the dark and then bisect. thanks for the reproducer16:04:43
@artturin:matrix.orgArtturinhttps://github.com/nixos/nixpkgs/commit/e651d115d5f2a6d37661578370993d345d97c71c16:06:50
@artturin:matrix.orgArtturinSus 16:06:51
@artturin:matrix.orgArtturinBecause withPackages discards splicing 16:07:06
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)oh that looks like splicing hell16:07:11
@dramforever:matrix.orgdramforeveryup that's dead16:07:32
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://github.com/NixOS/nixpkgs/issues/211340 nvm no need to tell you, you are well aware16:07:35
@artturin:matrix.orgArtturinWell easy fix and doesn't need to go to staging16:07:34
@artturin:matrix.orgArtturinI'll make a pr16:07:39
@dramforever:matrix.orgdramforever
# Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
16:08:00
@dramforever:matrix.orgdramforeverevidently, not enough16:08:06
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) just python3Packages.distlib ? 16:08:48
@dramforever:matrix.orgdramforever pkgsBuildHost.python3Packages... I think? 16:09:35
@tpw_rules:matrix.orgtpw_rulesidk really anything about splicing but maybe this is related to some weirdness i've run into in overlays before??16:09:46
@artturin:matrix.orgArtturinProbably not16:10:05
@artturin:matrix.orgArtturinRemember to use callPackage in overlays too!16:10:14
@dramforever:matrix.orgdramforeverScreenshot_20250825_001027.png
Download Screenshot_20250825_001027.png
16:10:37
@dramforever:matrix.orgdramforeveri s2g16:10:39
@tpw_rules:matrix.orgtpw_rules i've definitely had issues with the inscrutable difference between python3Packages and python3.pkgs 16:10:43
@dramforever:matrix.orgdramforeverbut how could this break qemu16:11:25
@dramforever:matrix.orgdramforeverit's not cross'd qemu right16:11:36
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)just use python3Packages and you'll usually be fine16:11:44
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)also yes good point... Is something using the wrong emulator?16:12:01

Show newer messages


Back to Room ListRoom Version: 6