| 24 Aug 2025 |
emily | interesting thanks | 14:13:07 |
emily | to be clear I wouldn't even be that upset if it doesn't work with splicing :P | 14:13:35 |
emily | just so long as you can actually reasonably access it across platforms | 14:13:49 |
tpw_rules | i'm getting fc-cache> /nix/store/qil3nqnisxb8kmpjfp3i50wgfgdbhh76-qemu-user-10.0.3/bin/qemu-aarch64: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory when trying to cross build my ISO now. looks like hostPlatform.emulator might be broken somehow? https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/fontconfig/make-fonts-cache.nix | 15:49:55 |
tpw_rules | now as in after yesterday's staging merge | 15:50:06 |
tpw_rules | (it could also be that suddenly my iso needs fontconfig which is broken, it really shouldn't, but it's broken regardless) | 15:50:25 |
Artturin | Same issue here | 15:51:37 |
tpw_rules | okay so maybe it's just my deps changed and that's been broken for a while | 15:52:54 |
Grimmauld (any/all) | no, i think i did my build on staging-next that time | 15:53:15 |
Grimmauld (any/all) | cross doesn't get much caching, so might as well build against staging-next | 15:53:35 |
tpw_rules | oh dang. i might try to just revert the qemu upgrade then | 15:53:41 |
tpw_rules | did you get any further on a diagnosis? | 15:54:27 |
Artturin | 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 | nix build -f test.nix cacheCross | 16:02:55 |
Artturin | At 72f5bfc3b5338a608e268fa867d4706dec66fd25 cacheCross still builds, on master it faild | 16:03:48 |
Artturin | * At 72f5bfc3b5338a608e268fa867d4706dec66fd25 cacheCross still builds, on master it fails | 16:03:49 |
Artturin | (Just a random rev from my one of my PR branches) | 16:04:21 |
tpw_rules | i have some spare CPU cycles, i can take some shots in the dark and then bisect. thanks for the reproducer | 16:04:43 |
Artturin | https://github.com/nixos/nixpkgs/commit/e651d115d5f2a6d37661578370993d345d97c71c | 16:06:50 |
Artturin | Sus | 16:06:51 |
Artturin | Because withPackages discards splicing | 16:07:06 |
Grimmauld (any/all) | oh that looks like splicing hell | 16:07:11 |
dramforever | yup that's dead | 16:07:32 |
Grimmauld (any/all) | https://github.com/NixOS/nixpkgs/issues/211340
nvm no need to tell you, you are well aware | 16:07:35 |
Artturin | Well easy fix and doesn't need to go to staging | 16:07:34 |
Artturin | I'll make a pr | 16:07:39 |
dramforever |
# Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
| 16:08:00 |
dramforever | evidently, not enough | 16:08:06 |
Grimmauld (any/all) | just python3Packages.distlib ? | 16:08:48 |
dramforever | pkgsBuildHost.python3Packages... I think? | 16:09:35 |