summary refs log tree commit diff
path: root/pkgs/games/dwarf-fortress/dwarf-fortress.in
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-01-12 20:56:59 +0300
committerNikolay Amiantov <ab@fmap.me>2016-01-26 03:03:12 +0300
commit92cda7a6bb17948523feefece3c20e35bb213daa (patch)
tree0e17ef99d3ca88087c6c1d94e15b8fc0ce534a6e /pkgs/games/dwarf-fortress/dwarf-fortress.in
parente409d0fed3b5d50147b61b6d223d9aa272863485 (diff)
downloadnixlib-92cda7a6bb17948523feefece3c20e35bb213daa.tar
nixlib-92cda7a6bb17948523feefece3c20e35bb213daa.tar.gz
nixlib-92cda7a6bb17948523feefece3c20e35bb213daa.tar.bz2
nixlib-92cda7a6bb17948523feefece3c20e35bb213daa.tar.lz
nixlib-92cda7a6bb17948523feefece3c20e35bb213daa.tar.xz
nixlib-92cda7a6bb17948523feefece3c20e35bb213daa.tar.zst
nixlib-92cda7a6bb17948523feefece3c20e35bb213daa.zip
dwarf-fortress: 0.40.24 -> 0.42.05, split derivations
This is a massive rework of the current dwarf_fortress package.
The main reason for rework is to split game, its libraries and wrappers,
enabling builds on Hydra and general maintainability.

dfhack, dwarf-fortress-unfuck, dwarf-fortress-original and dwarf-fortress
are now all separate derivations. All were updated to the latest versions
supporting DF 0.42.04 (some things taken from development branches):

dfhack: 20150927 -> 20160118
dwarf-fortress-unfuck: 0.40.24 -> 20160118
dwarf-fortress-original: 0.40.24 -> 0.42.05

dfhack got a patch for using more system libraries.

Wrapper scripts were also redone -- now they support DF_DIR variable (for
setting another data directory) and try to save more space by means of
symlinking. They now try to be more smart, updating those directories that were
not touched by user automatically.

All the new packages now reside in dwarf-fortress-packages. dwarf_fortress was
renamed into dwarf-fortress per our conventions, old name is deprecated. Also
duplicate dfhack derivation is removed.

Also drop dwarfFortress.enableDFHack config option; it can be re-added later
but now is deemed controversial.
Diffstat (limited to 'pkgs/games/dwarf-fortress/dwarf-fortress.in')
-rw-r--r--pkgs/games/dwarf-fortress/dwarf-fortress.in14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkgs/games/dwarf-fortress/dwarf-fortress.in b/pkgs/games/dwarf-fortress/dwarf-fortress.in
deleted file mode 100644
index db06d34efd05..000000000000
--- a/pkgs/games/dwarf-fortress/dwarf-fortress.in
+++ /dev/null
@@ -1,14 +0,0 @@
-#!@stdenv_shell@
-
-set -ex
-
-data_dir=${XDG_DATA_HOME:-$HOME/.local/share}/df_linux
-pkg_dir=@prefix@/share/df_linux
-
-. $pkg_dir/shell/install-df-data-to-home.sh
-. $pkg_dir/shell/install-df-data-content-to-home.sh
-. $pkg_dir/shell/export-libs.sh
-. $pkg_dir/shell/export-workaround.sh
-
-cd $data_dir
-$pkg_dir/libs/Dwarf_Fortress "$@"