oxipng: fix tests on aarch64-linux (#377589)

This commit is contained in:
Vlad M.
2025-01-29 09:28:52 +02:00
committed by GitHub
+4
View File
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
rustPlatform,
qemu,
}:
rustPlatform.buildRustPackage rec {
@@ -19,6 +20,9 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-4PCLtBJliK3uteL8EVKLBVR2YZW1gwQOiSLQok+rqug=";
# See https://github.com/shssoichiro/oxipng/blob/14b8b0e93a/.cargo/config.toml#L5
nativeCheckInputs = [ qemu ];
meta = {
homepage = "https://github.com/shssoichiro/oxipng";
description = "Multithreaded lossless PNG compression optimizer";