libbytesize: fix cross compilation (#396061)

authored by Aleksana and committed by GitHub 6504a9b4 8652ed38

+1 -1
+1 -1
pkgs/by-name/li/libbytesize/package.nix
··· 62 62 --replace-fail 'CDLL("libbytesize.so.1")' "CDLL('$out/lib/libbytesize.so.1')" 63 63 64 64 # Force compilation of .pyc files to make them deterministic 65 - ${python3Packages.python.interpreter} -m compileall $out/${python3Packages.python.sitePackages}/bytesize 65 + ${python3Packages.python.pythonOnBuildForHost.interpreter} -m compileall $out/${python3Packages.python.sitePackages}/bytesize 66 66 ''; 67 67 68 68 pythonImportsCheck = [ "bytesize" ];