Uh oh!
There was an error while loading. Please reload this page.
Add NixOS Flake - #247
Conversation
Spartan322
commented
Oct 14, 2024
Is this still being worked on, and has this been proposed to Godot? |
Spartan322
commented
Oct 14, 2024
Also does this close #154? |
MichaelFisher1997
commented
Oct 14, 2024
@Spartan322 I have my eye on this. |
MichaelFisher1997
commented
Oct 14, 2024
yes, no |
bfafb16 to
59597d0CompareUpdate 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
theoparis
commented
Jan 9, 2025
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. |
Arctis-Fireblight
commented
Aug 19, 2025
Hi @theoparis , |
Arctis-Fireblight
commented
Jan 4, 2026
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.