Closed Eveeifyeve closed 1 month ago
Is it possible that you can make gcc only in linux but clang if pyinstaller uses clang for darwin to use that?
I got it working I am willing to contribute a fix to this.
I will need to some how package macholib
since pyinstaller
requires it for macos systems.
But first of all since gcc is required on linux is there a possible if linux include gcc instead of clang.
Based on https://github.com/pyinstaller/pyinstaller?tab=readme-ov-file#requirements-and-tested-platforms, it seems like ldd
and the binutils
stuff is only required on linux. Maybe we could just throw in a lib.optionals stdenv.isLinux
here?
Do you know if more needed to be done to fix the darwin build? Feel free to open a PR if you'd like.
Based on https://github.com/pyinstaller/pyinstaller?tab=readme-ov-file#requirements-and-tested-platforms, it seems like
ldd
and thebinutils
stuff is only required on linux. Maybe we could just throw in alib.optionals stdenv.isLinux
here?Do you know if more needed to be done to fix the darwin build? Feel free to open a PR if you'd like.
You need macolib
which I am looking to make a package for and I think clang
I still have to test if you need clang
.
I am looking to make a pr in a couple of days to fix both pyinstaller and package macholib
I think gcc can be replace with clang which is compatible with both linux and darwin.
@h7x4 Macholib is now in a pr: https://github.com/NixOS/nixpkgs/pull/344926
@h7x4 Macholib is now in a pr: #344926
Now I am looking to fix pyinstaller for darwin.
Steps To Reproduce
Steps to reproduce the behaviour:
Build log
Additional context
It fails to build at gcc as gcc is not avlible on macOS
Notify maintainers
CC @h7x4
Metadata
Add a :+1: reaction to issues you find important.