about summary refs log tree commit diff
path: root/pkgs/games/dxx-rebirth
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2024-02-07 22:49:03 +0000
committerEmery Hemingway <ehmry@posteo.net>2024-02-09 11:18:39 +0000
commitc20f87f00d445849b0149698884b893e4ac61cec (patch)
tree3e2092bbf4008860302f184b8dcc57888bd898d1 /pkgs/games/dxx-rebirth
parente94f7aef0907e0f6a3dd5b2cae1492e6db030287 (diff)
dxx-rebirth: unstable-2023-03-23 -> unstable-2024-01-13
The main change is the build fix against `gcc-13` https://hydra.nixos.org/build/247695201:

    similar/main/digiobj.cpp: In function ‘void d1x::digi_sync_sounds()’:
    similar/main/digiobj.cpp:625:31:
      error: possibly dangling reference to a temporary [-Werror=dangling-reference]
      625 |                 const object &objp = [&vcobjptr, &s]{
          |                               ^~~~

While at it added the trivial unstable updater.
Diffstat (limited to 'pkgs/games/dxx-rebirth')
-rw-r--r--pkgs/games/dxx-rebirth/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/games/dxx-rebirth/default.nix b/pkgs/games/dxx-rebirth/default.nix
index 95cf0918b52ca..2664d3d4f3061 100644
--- a/pkgs/games/dxx-rebirth/default.nix
+++ b/pkgs/games/dxx-rebirth/default.nix
@@ -11,6 +11,7 @@
 , libGL
 , libpng
 , physfs
+, unstableGitUpdater
 }:
 
 let
@@ -22,13 +23,13 @@ let
 in
 stdenv.mkDerivation rec {
   pname = "dxx-rebirth";
-  version = "unstable-2023-03-23";
+  version = "unstable-2024-01-13";
 
   src = fetchFromGitHub {
     owner = "dxx-rebirth";
     repo = "dxx-rebirth";
-    rev = "841ebcc11d249febe48911bc239606ade3bd78b3";
-    hash = "sha256-cr5QdkKO/HNvtc2w4ynJixuLauhPCwtsSC3UEV7+C1A=";
+    rev = "5c710857a9312e1b2f3249c51c12b55f9390a2b1";
+    hash = "sha256-nEPMJiTeePAmourAksUNqyy5whs+8+qy/qrycfNw2lo=";
   };
 
   nativeBuildInputs = [ pkg-config scons ];
@@ -49,6 +50,8 @@ stdenv.mkDerivation rec {
     install -Dm644 -t $out/share/doc/dxx-rebirth *.txt
   '';
 
+  passthru.updateScript = unstableGitUpdater {};
+
   meta = with lib; {
     description = "Source Port of the Descent 1 and 2 engines";
     homepage = "https://www.dxx-rebirth.com/";