pythonPackages.pyinstaller: fix darwin build

pythonPackages.pyinstaller: fix bin prefix stdenv hostplatform linux check

pythonPackages.pyinstaller: fix macholib import
This commit is contained in:
eveeifyeve 2024-09-29 08:54:58 +10:00
parent 8637e879e4
commit f11d291c2e

View File

@ -11,7 +11,9 @@
, pyinstaller
, glibc
, binutils
, macholib
, installShellFiles
, stdenv
}:
buildPythonPackage rec {
@ -34,10 +36,11 @@ buildPythonPackage rec {
dependencies = [
altgraph
packaging
macholib
pyinstaller-hooks-contrib
];
makeWrapperArgs = [
makeWrapperArgs = lib.optionals stdenv.hostPlatform.isLinux [
"--prefix" "PATH" ":" (lib.makeBinPath [ glibc binutils ])
];