-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
openrct2: 0.2.3 -> 0.2.4 #72212
openrct2: 0.2.3 -> 0.2.4 #72212
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.
nix-review
passes on NixOS
diff LGTM
executables seem to work
leaf package
https://github.com/NixOS/nixpkgs/pull/72212
1 package were build:
openrct2
@GrahamcOfBorg build openrct2 |
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.
cmake
and pkgconfig
should rather be in nativeBuildInputs
9ba3ef6
to
4182a79
Compare
Fair enough. Updated. |
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 your PR. Please check the upstream CMakeLists.txt for updates, as already commented.
rev = "v1.0.11"; | ||
sha256 = "1bh7mngpqnhzwnhhawq5y3a6hbvwxis2yagk4dcmc4w1fifq2y66"; | ||
rev = "v1.0.12"; | ||
sha256 = "0vfhyldc8nfvkg4d9kry669haxz2165walbxzgza7pqpnd7aqgrf"; | ||
}; | ||
|
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.
The 0.2.4-release introduced a replay module in its CMakeLists.txt. This sub-project should be added like the objects and title sequences.
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.
replays
is only used for tests, which we don't currently run.
If we want to run tests then we'll need to include googletest in the derivation. I'm not sure if there's a quick and easy way to disable the download, so we might need to patch test/tests/CMakeLists.txt
as well.
Thoughts?
4182a79
to
5dd2410
Compare
Is there anything I can do to assist moving this forward? |
If we stick to not running tests, could you add an explicite cmake flag with a comment : cmakeFlags = [
"-DCMAKE_BUILD_TYPE=RELWITHDEBINFO"
"-DDOWNLOAD_OBJECTS=OFF"
"-DDOWNLOAD_TITLE_SEQUENCES=OFF"
"-DWITH_TESTS=OFF" # requires GTest and fetching replays
]; OTOH you should be able to use |
Sure, I'm happy to try and add the tests if that's what we want to do. My intuition would have been to leave the tests out since they weren't included in the derivation previously. I guess ultimately the decision is up to @geistesk as the maintainer. |
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.
Excuse my late reply. I have tested the submitted PR successfully.
Regarding the test discussion, I would like to note that by default WITH_TESTS
is OFF
. So I do not think this cmake flag needs to be added additionally. If you want to add the tests, I am certainly not stopping you. Anyway, the PR looks good for me in the current state.
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.
nix-review
passes on NixOS
diff LGTM
leaf package
[5 built, 5 copied (2.6 MiB), 0.3 MiB DL]
https://github.com/NixOS/nixpkgs/pull/72212
1 package were build:
openrct2
@GrahamcOfBorg build openrct2 |
Motivation for this change
Updating to latest version.
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)Notify maintainers
cc @geistesk