summaryrefslogtreecommitdiffstats
path: root/overlay.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlay.nix')
-rw-r--r--overlay.nix39
1 files changed, 38 insertions, 1 deletions
diff --git a/overlay.nix b/overlay.nix
index 6d748e1..0f08d5e 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -3,8 +3,45 @@
system,
...
}: final: prev: {
- stable = import inputs.nixpkgs-stable {
+ unstable = import inputs.nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
+
+ unciv = prev.unciv.overrideAttrs (old: rec {
+ version = "4.18.14";
+ src = prev.fetchurl {
+ url = "https://github.com/yairm210/Unciv/releases/download/${version}-patch1/Unciv.jar";
+ hash = "sha256-ykyHaIxnahC8D8ZAqzGnwNhc7mUX25uO4hEWKz+7p7o=";
+ };
+ });
+
+ cataclysm-dda = prev.cataclysm-dda.overrideAttrs (old: {
+ version = "0.I";
+ src = prev.fetchFromGitHub {
+ owner = "CleverRaven";
+ repo = "Cataclysm-DDA";
+ tag = "cdda-0.I-2025-10-02-0217";
+ sha256 = "sha256-wD11w1u4hJfvh003ce+7Kq3/OgZDDDDd3VUh7fDgY5Q=";
+ };
+ patches = [];
+ });
+
+ cataclysm-tlg = prev.cataclysm-dda-git.overrideAttrs (old: {
+ meta.mainProgram = "cataclysm-tlg-tiles";
+ pname = "cataclysm-tlg";
+ version = "2025-10-17-1123";
+ src = prev.fetchFromGitHub {
+ owner = "Cataclysm-TLG";
+ repo = "Cataclysm-TLG";
+ tag = "cataclysm-tlg-1.0-${final.cataclysm-tlg.version}";
+ sha256 = "sha256-rpfRBVKyFTLOLl8AOdTueaXI+TozVAEGy5aycoE+ZDs=";
+ };
+ makeFlags = prev.cataclysm-dda-git.makeFlags ++ [ "TESTS=0" ];
+ postInstall = ''
+ substituteInPlace $out/share/applications/com.cataclysm-tlg.cataclysm-tlg.desktop \
+ --replace-fail "Exec=cataclysm-tlg-tiles" "Exec=$out/bin/cataclysm-tlg-tiles"
+ rm $out/bin/zzip
+ '';
+ });
}