Unverified Commit b290ef5c authored by Morgan Jones's avatar Morgan Jones
Browse files

dwarf-therapist: fix memory map extraction for version 52.03

parent 072fd253
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -74,9 +74,10 @@ stdenv.mkDerivation {
        local orig_md5="$2"
        local patched_md5="$3"
        echo "It doesn't support DF $dfVersion out of the box, so we're doing it the hard way."
        export NIXPKGS_DF_HOME="$(mktemp -dt dfhack.XXXXXX)"
        export HOME="$(mktemp -dt dfhack.XXXXXX)"
        export XDG_DATA_HOME="$HOME/.local/share"
        expect ${dfHackExpectScript}
        local ini="$NIXPKGS_DF_HOME/therapist.ini"
        local ini="$XDG_DATA_HOME/df_linux/therapist.ini"
        if [ -f "$ini" ]; then
          if grep -q "$patched_md5" "$ini"; then
            cp -v "$ini" "$output"