pythonPackages.pyinstaller: fix darwin build (#345199)

This commit is contained in:
h7x4
2024-09-29 12:43:11 +02:00
committed by GitHub
@@ -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 ])
];