From 4e199bc1d3baad9362f2e5367d876c8a7dc21ec4 Mon Sep 17 00:00:00 2001 From: Palmer Cox
Date: Tue, 25 Nov 2025 19:40:59 -0500 Subject: [PATCH] rbdoom-3-bfg: Fix on Apple platforms With version 1.6.0 the project started using ShaderMake. There was already a patch in place to fix compiling on Apple platforms. It seems that with 1.6.0, this patch needs to be modified to be applied to ShaderMake. --- pkgs/by-name/rb/rbdoom-3-bfg/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/rb/rbdoom-3-bfg/package.nix b/pkgs/by-name/rb/rbdoom-3-bfg/package.nix index aebd1a7925ae..622e3af60b13 100644 --- a/pkgs/by-name/rb/rbdoom-3-bfg/package.nix +++ b/pkgs/by-name/rb/rbdoom-3-bfg/package.nix @@ -27,8 +27,8 @@ stdenv.mkDerivation rec { }; postPatch = '' - substituteInPlace neo/extern/nvrhi/tools/shaderCompiler/CMakeLists.txt \ - --replace "AppleClang" "Clang" + substituteInPlace neo/extern/ShaderMake/CMakeLists.txt \ + --replace-fail "AppleClang" "Clang" ''; nativeBuildInputs = [