I’m not sure how many people play Cataclysm: DDA and also use the Nix package manager (probably not many) but I’m recently developing a nixpkgs overlay for Cataclysm: DDA.
It’s a sort of game launcher with mods, soundpacks, and tilesets manager. You can think of it as a counterpart of CDDA Game Launcher for Linux and macOS; Nix package manager is available not only for NixOS but also for the other Linux distro like Ubuntu and macOS.
As of now, recent experimental builds, most of soundpacks, UndeadPeople tileset, and a few mods are available in the overlay. The overlay is automatically updated on a daily basis by a daemon running on my laptop. Sorry when my laptop is power off!
I would be happy if you could try it if interested and give me feedback. Thanks!
Example usage
If you have already installed the Nix package manager, create a file with the following contents:
let
nixpkgs-cdda-mods = fetchTarball
"https://github.com/mnacamura/nixpkgs-cdda-mods/archive/master.tar.gz";
in
with import <nixpkgs> { overlays = [ (import nixpkgs-cdda-mods) ]; };
cataclysmDDA.jenkins.latest.tiles.withMods (pkgs: with pkgs; [
mod.CataclysmPlusPlus
soundpack.Otopack
tileset.UndeadPeople
])
Let its file name be, say, example.nix
. Then, executing
> nix-env -if example.nix<ENTER>
on your shell will install the latest experimental build with Cataclysm++, Otopack, and UndeadPeople tileset.