Commit f11d291c authored by eveeifyeve's avatar eveeifyeve
Browse files

pythonPackages.pyinstaller: fix darwin build

pythonPackages.pyinstaller: fix bin prefix stdenv hostplatform linux check

pythonPackages.pyinstaller: fix macholib import
parent 8637e879
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 ])
  ];