lol

dwarf-therapist: fix memory map extraction for version 52.03

+3 -2
+3 -2
pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix
··· 74 74 local orig_md5="$2" 75 75 local patched_md5="$3" 76 76 echo "It doesn't support DF $dfVersion out of the box, so we're doing it the hard way." 77 - export NIXPKGS_DF_HOME="$(mktemp -dt dfhack.XXXXXX)" 77 + export HOME="$(mktemp -dt dfhack.XXXXXX)" 78 + export XDG_DATA_HOME="$HOME/.local/share" 78 79 expect ${dfHackExpectScript} 79 - local ini="$NIXPKGS_DF_HOME/therapist.ini" 80 + local ini="$XDG_DATA_HOME/df_linux/therapist.ini" 80 81 if [ -f "$ini" ]; then 81 82 if grep -q "$patched_md5" "$ini"; then 82 83 cp -v "$ini" "$output"