From f11d291c2e437b8bedcd997f1dac17bcafbd1151 Mon Sep 17 00:00:00 2001 From: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com> Date: Sun, 29 Sep 2024 08:54:58 +1000 Subject: [PATCH] pythonPackages.pyinstaller: fix darwin build pythonPackages.pyinstaller: fix bin prefix stdenv hostplatform linux check pythonPackages.pyinstaller: fix macholib import --- pkgs/development/python-modules/pyinstaller/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyinstaller/default.nix b/pkgs/development/python-modules/pyinstaller/default.nix index c8b4d4697202..c7b770f1b418 100644 --- a/pkgs/development/python-modules/pyinstaller/default.nix +++ b/pkgs/development/python-modules/pyinstaller/default.nix @@ -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 ]) ];