Unverified Commit 7fb4a147 authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

pythonPackages.pyinstaller: fix darwin build (#345199)

parents dd140cde f11d291c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 ])
  ];