From 6122f10876e3642092e8b8e1160f164ca87bda7d Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 4 Apr 2025 06:49:19 +0000 Subject: [PATCH] libbytesize: fix cross compilation --- pkgs/by-name/li/libbytesize/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libbytesize/package.nix b/pkgs/by-name/li/libbytesize/package.nix index 48619381acda..08f53f158f14 100644 --- a/pkgs/by-name/li/libbytesize/package.nix +++ b/pkgs/by-name/li/libbytesize/package.nix @@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail 'CDLL("libbytesize.so.1")' "CDLL('$out/lib/libbytesize.so.1')" # Force compilation of .pyc files to make them deterministic - ${python3Packages.python.interpreter} -m compileall $out/${python3Packages.python.sitePackages}/bytesize + ${python3Packages.python.pythonOnBuildForHost.interpreter} -m compileall $out/${python3Packages.python.sitePackages}/bytesize ''; pythonImportsCheck = [ "bytesize" ];