New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
makeFontsCache: Fix cross-compilation, use nativeBuildInputs #73344
Conversation
This commit fixes missing fc-cache binary from make-fonts-cache.nix build: ``` builder for '/nix/store/az48nr8gdqrw3fliddmi82ghj2ljxrj4-fc-cache.drv' failed with exit code 127; last 1 log lines: /nix/store/p3z1lgsi7xymvl7akg531ikwiisqs4x5-stdenv-linux/setup: line 1299: fc-cache: command not found cannot build derivation '/nix/store/swaxvjsf8h0rsmm9kigp6j3f5q5h4nvg-fc-00-nixos-cache.conf.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/wiaiv0pq7w1xm2i2fqp2ngd1ljb4n6n9-fontconfig-conf.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/4zhiwpiyccs0rs26bs3q0w8fwaxrrgw0-fontconfig-etc.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/xhvljdp9b00fbkapx6cbfs4sjdh49qwv-etc.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/w63q0n0vh7vkdfrjmhb41qy1alx7qa8s-nixos-system-nixos-19.09.git.c814289.drv': 1 dependencies couldn't be built ```
For some reason, I'm still getting a non-native
That's on c33bd19, with
|
was fixed, and then reverted in #51601 |
@flokli is right, but the error happens with nixos' fontconfig module, right here nixpkgs/nixos/modules/config/fonts/fontconfig.nix Lines 48 to 69 in ae94e89
Im unsure how to fix this |
Hoooh, |
Something about |
I haven't tried cross-compiling an aarch64/armv7l system from x86_64-linux since some time now, but I what I meant to say here is that https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/config/fonts/fontconfig.nix#L58 refers to This could have been fixed by #84415. @matthewbauer, can you confirm? |
Motivation for this change
This commit fixes missing
fc-cache
binary from themake-fonts-cache.nix
build:This pull request fixes #67916 (comment) from pull request #67916.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @symphorien @Mic92