From 679cb08da2f33b4c196551d89f7e2d816dee6382 Mon Sep 17 00:00:00 2001 From: azahi Date: Sun, 12 Oct 2025 18:47:22 +0300 Subject: [PATCH] opengothic: fix build with cmake4 --- pkgs/by-name/op/opengothic/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/op/opengothic/package.nix b/pkgs/by-name/op/opengothic/package.nix index b7871008cd5d..5a4392008424 100644 --- a/pkgs/by-name/op/opengothic/package.nix +++ b/pkgs/by-name/op/opengothic/package.nix @@ -54,6 +54,10 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail "-Werror" "" ''; + cmakeFlags = [ + (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10") + ]; + postFixup = '' wrapProgram $out/bin/Gothic2Notr \ --set LD_PRELOAD "${lib.getLib alsa-lib}/lib/libasound.so.2"