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
dwarf-fortress: 0.44.10 -> 0.44.11 #42554
Conversation
dwarf-fortress-original | ||
dwarf-fortress-unfuck | ||
dfhack | ||
]; |
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.
Not sure if this is right but it was complaining about not being to find dfVersion in all of the arguments
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.
Yeah probably there is a dfVersion somewhere that needs to be updated.
@@ -12,7 +12,7 @@ | |||
|
|||
stdenv.mkDerivation rec { | |||
version = "2016-1_196"; | |||
dfVersion = "0.44.10"; | |||
dfVersion = "0.44.11"; |
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.
You didn't update the hash.
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.
Good catch, was wondering why I needed to do that. Thought it was just assurance that all the versions are the same (which they aren't between now and the time dfhack gets 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.
Oh nevermind it wouldn't effect the hash. I thought this was "version"
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.
Do you know why themes aren't installing, and is it for a similar reason?
I get "attribute 'tergel' missing" when trying to set theme = "tergel"
.
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.
Oops i think that's broken. Could you try replacing this:
with inherit themes;
?
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.
Yep, that fixed it, will add it to this pull. Still getting a hang of Nix...
I see dfhack and therapist updated. Will add them to this pull. |
Hmmm...
#39956 maybe? None of the submodules have spaces though... |
Update everything but dfhack and dwarf-therapist, which have not been updated yet.
Updated my local nixpkgs checkout; issue seems to be resolved. |
Still an issue with stonesense, looks like it might be missing a dependency:
|
Having several problems if I want to use dfhack: First, it's missing a symbol which is apparently found in unfuck or libgraphics.so.
If I add the following to unfuck_dir="@unfuck@"
if [ ! -z "$unfuck_dir" ]; then
export LD_LIBRARY_PATH="$unfuck_dir:$LD_LIBRARY_PATH"
export LD_PRELOAD="$unfuck_dir/libgraphics.so:$LD_PRELOAD"
fi And the following to unfuck = if stdenv.isLinux then "${dfunfuck}/lib" else "" Then this happens:
|
Gone hunting for a root cause, this looks like it: svenstaro/dwarf_fortress_unfuck@c25627a#diff-af3b638bc2a3e6c650974192a53c7291R4 libgraphics in unfuck is now built in release mode, which is removing some symbols dfhack needs. [Edit] reported upstream: svenstaro/dwarf_fortress_unfuck#22 |
This should be mostly working now, people can checkout numinit/nixpkgs:df if they want a working 0.44.11+therapist+dfhack+unfuck. Still some weird things going on with therapist not finding memory layout files. Had to manually symlink the therapist share directory into my home folder. Will look into that more. Would also like a nicer fix for dfhack breaking on Linux, but patching CMakeLists.txt seems to work for now. So, with all that considered, would like to make some more changes before squashing and requesting a review, but this is a starting point for any of itching to try 0.44.11 on NixOS. |
Ok pushed a commit to fix a few issues. Hope everything still works okay. |
Looks like unfuck got an update upstream. I've been running the fixed version locally; will submit another pull later. Thanks for the feedback on my first NixOS pull :-) |
This updates to an unstable alpha version of dfhack, which warns that it's likely to corrupt game data structures. I know it's called |
Hmmm... should we have stayed at the old dfhack? The issue is that dfhack is kind of worthless if it doesn't work on the dwarf fortress available. |
We actually could provide older versions of dwarf fortress fairly easily with some .json. Maybe that would lessen the burden in updating dwarf fortress to make everything work at once? |
Considering #43081, I'd very much like us to provide a works-by-default "lazy" package. If that means holding back DF, as it likely does, then... yes, I think we're going to need that. |
Update everything, including dfhack and dwarf-therapist.
Motivation for this change
New Dwarf Fortress version: http://www.bay12games.com/dwarves/index.html#2018-06-23
Note that this is my first nixpkgs pull request, let me know if I did anything terribly wrong.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)