···7474 local orig_md5="$2"
7575 local patched_md5="$3"
7676 echo "It doesn't support DF $dfVersion out of the box, so we're doing it the hard way."
7777- export NIXPKGS_DF_HOME="$(mktemp -dt dfhack.XXXXXX)"
7777+ export HOME="$(mktemp -dt dfhack.XXXXXX)"
7878+ export XDG_DATA_HOME="$HOME/.local/share"
7879 expect ${dfHackExpectScript}
7979- local ini="$NIXPKGS_DF_HOME/therapist.ini"
8080+ local ini="$XDG_DATA_HOME/df_linux/therapist.ini"
8081 if [ -f "$ini" ]; then
8182 if grep -q "$patched_md5" "$ini"; then
8283 cp -v "$ini" "$output"