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
devilutionx: init at unstable-2019-07-28 #65567
Conversation
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.
Thanks for contributing this package! I took a quick scan over your .nix
file and left a few suggestions I hope you find useful. I didn't dig into the actual project itself or try to build it, so if I've made any mistakes or missed anything I apologize.
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/building-devilutionx-as-beginner-cmake-doesnt-find-libsodium/3387/6 |
Thank you @aanderse for you code review, very helpful. I've pushed fixes for the issues that you have found, and commented the addition of the |
fbe129b
to
a08c4a1
Compare
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/building-devilutionx-as-beginner-cmake-doesnt-find-libsodium/3387/7 |
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.
I have added a few minor comments. I'll try building and running and then we're good to merge. Thanks again!
96d463e
to
f554fc8
Compare
Ok, it passes for Darwin I guess? Is |
@GrahamcOfBorg build devilutionx |
@karolchmist Squash all commits into a single commit with |
f554fc8
to
983c30f
Compare
Done! Thank you @aanderse , you were very helpful :) |
Motivation for this change
This PR adds DevilutionX, a build of Diablo game from 1996 for modern operating systems.
To make it run, a file with original data from the game (
diabdat.mpq
) must be placed in~/.local/share/diasurgical/devilution
. In future releases of DevilutionX, this is planned to be configurable. We could make it a parameter as well when possible.This PR builds a recent master commit, because since the last release (0.4.0) there have been a lot of improvements for 64 bit build. I've managed to build and run the game on a 64 bit NixOs and play it quite well.
As soon a next version is released, I plan to keep DevilutionX track the official releases.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)