diff options
author | Svein Ove Aas <sveina@gmail.com> | 2018-07-05 20:09:03 +0100 |
---|---|---|
committer | Svein Ove Aas <sveina@gmail.com> | 2018-07-05 20:48:52 +0100 |
commit | b0c7245ee5ea9a93b9bdd2896c90fe822edb0596 (patch) | |
tree | 7155dddb5b67d544d17737435e857263a264cc92 /pkgs/games/dwarf-fortress/default.nix | |
parent | 5012ce727ab54d7fe02ae730011d3160ab3743a0 (diff) | |
download | nixpkgs-b0c7245ee5ea9a93b9bdd2896c90fe822edb0596.tar nixpkgs-b0c7245ee5ea9a93b9bdd2896c90fe822edb0596.tar.gz nixpkgs-b0c7245ee5ea9a93b9bdd2896c90fe822edb0596.tar.bz2 nixpkgs-b0c7245ee5ea9a93b9bdd2896c90fe822edb0596.tar.lz nixpkgs-b0c7245ee5ea9a93b9bdd2896c90fe822edb0596.tar.xz nixpkgs-b0c7245ee5ea9a93b9bdd2896c90fe822edb0596.tar.zst nixpkgs-b0c7245ee5ea9a93b9bdd2896c90fe822edb0596.zip |
dwarf-fortress: Add "lazy pack", config flags and some comments.
Diffstat (limited to 'pkgs/games/dwarf-fortress/default.nix')
-rw-r--r-- | pkgs/games/dwarf-fortress/default.nix | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/pkgs/games/dwarf-fortress/default.nix b/pkgs/games/dwarf-fortress/default.nix index f0dd7f08020..bfb22aa3a3d 100644 --- a/pkgs/games/dwarf-fortress/default.nix +++ b/pkgs/games/dwarf-fortress/default.nix @@ -1,9 +1,32 @@ -{ pkgs, stdenv, stdenvNoCC, gccStdenv }: +{ pkgs, stdenv, stdenvNoCC, buildEnv, gccStdenv }: + +# To whomever it may concern: +# +# This directory menaces with spikes of Nix code. It is terrifying. +# +# If this is your first time here, you should probably install the dwarf-fortress-full package, +# for instance with `environment.systempackages = [ pkgs.dwarf-fortress.dwarf-fortress-full ];`. +# +# You can adjust its settings by using override, or compile your own package by +# using the other packages here. Take a look at lazy-pack.nix to get an idea of +# how. +# +# You will find the configuration files in ~/.local/share/df_linux/data/init. If +# you un-symlink them and edit, then the scripts will avoid overwriting your +# changes on later launches, but consider extending the wrapper with your +# desired options instead. +# +# Although both dfhack and dwarf therapist are included in the lazy pack, you +# can only use one at a time. DFHack does have therapist-like features, so this +# may or may not be a problem. let callPackage = pkgs.newScope self; self = rec { + + dwarf-fortress-full = callPackage ./lazy-pack.nix { }; + dwarf-fortress-original = callPackage ./game.nix { }; dfhack = callPackage ./dfhack { @@ -13,7 +36,7 @@ let soundSense = callPackage ./soundsense.nix { }; - # unfuck is linux-only right now, we will just use it there + # unfuck is linux-only right now, we will only use it there. dwarf-fortress-unfuck = if stdenv.isLinux then callPackage ./unfuck.nix { } else null; |