-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
minetest: update to 5.1.0 and build on Darwin #77967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Usually we put the macOS versions into the same file, to avoid duplication (and use conditionals inside the file). Is this not an option here? |
For irrlicht, I wasn't able to get the build system based on Xcode to work so I found another one based on cmake. Therefore it's quite different in the end. |
for file in out-shared/*.dylib*; do | ||
install_name_tool -id $out/lib/$file $file | ||
for file in out-shared/*.dylib.*.*; do | ||
install_name_tool -id $out/lib/$(basename $file) $file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a fixDarwinDylibNames
helper for projects that don't set the install name correctly.
let | ||
version = "1.8.4"; | ||
|
||
irrlichtZip = fetchzip { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to reuse the source from default.nix so the versions can't get out of sync.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to merge?
Yes, done on my side |
Motivation for this change
Build minetest and irrlicht on Darwin.
Update minetest to 5.1.0
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)