From 646c490ca75c3a4b4bb8627a8556b1035cee1481 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 26 Nov 2026 14:21:15 +0100 Subject: [PATCH] fix srctvplus --- nix/srcds/srctvplus.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/srcds/srctvplus.nix b/nix/srcds/srctvplus.nix index bb67476..0b8afc1 100644 --- a/nix/srcds/srctvplus.nix +++ b/nix/srcds/srctvplus.nix @@ -3,6 +3,7 @@ stdenv, nix-update-script, prelink, + fetchpatch2, }: stdenv.mkDerivation (finalAttrs: { pname = "srctvplus"; @@ -19,6 +20,13 @@ stdenv.mkDerivation (finalAttrs: { prelink ]; + patches = [ + (fetchpatch2 { + url = "https://github.com/dalegaard/srctvplus/commit/5d8474aa8e78443e784fb4a1f10848b37bfefefe.patch"; + sha256 = "sha256-aEukl51fx0GwT3sGYfkZFjsjhKI8YWH7GO9DX83yB00="; + }) + ]; + NIX_CFLAGS_COMPILE = "-ftrampoline-impl=heap"; buildPhase = ''