Conversation
|
Is this still being worked on, and has this been proposed to Godot? |
|
Also does this close #154? |
|
@Spartan322 I have my eye on this. |
yes, no |
bfafb16 to
59597d0
Compare
Update the copy command in package.nix to match the output binary names.
- Added a mono build option with dotnet 9 - Added OpenGL and fixed runtime dependencies - Migrated to nixpkgs master
59597d0 to
c9f645d
Compare
|
An update on this PR:
I recently installed NixOS via dual booting on my new macbook pro so I haven't really worked on Darwin support lately - I assume it's still broken. |
|
Hi @theoparis , |
|
I think at this stage, we are going to close out this PR. If we end up moving forward with Nix packaging, it will likely be with #954 |
Based on #154, this PR adds a nix flake.
The changes I've made compared to #154 are:
To Do:
nix build .# && ./result/bin/redotDarwin support is still WIP which is why I made this a draft. It seems like AppKit/AppKit.h is not being found despite it being present in buildInputs.
Additionally, I had to temporarily modify platform_methods.py to allow finding moltenVK in
${darwin.moltenvk}/lib/libMoltenVK.dylib. This could probably be improved with a proper lookup of the entire sdk directory instead of looking in lib or other hard coded paths 🤔Edit: Hmm, AppKit.h is not in an AppKit/ directory an is instead just AppKit.h via something like
/nix/store/0nh8rqwsdaj9pj6lw0nkggry8ykkpazg-apple-framework-AppKit-11.0.0/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.h.