From c20f87f00d445849b0149698884b893e4ac61cec Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 7 Feb 2024 22:49:03 +0000 Subject: [PATCH] dxx-rebirth: unstable-2023-03-23 -> unstable-2024-01-13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- pkgs/games/dxx-rebirth/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/games/dxx-rebirth/default.nix b/pkgs/games/dxx-rebirth/default.nix index 95cf0918b52c..2664d3d4f306 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/";