From 8ccdb28e27ef84754fbc0fe973493698d3ed5105 Mon Sep 17 00:00:00 2001 From: Bryan Lai Date: Fri, 10 Oct 2025 15:43:00 +0800 Subject: [PATCH] stdoutisatty: fix build, bump cmake minimum ... with flag: -DCMAKE_POLICY_VERSION_MINIMUM=3.5 --- pkgs/by-name/st/stdoutisatty/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/st/stdoutisatty/package.nix b/pkgs/by-name/st/stdoutisatty/package.nix index f99476c57a9f..cc12628b5c67 100644 --- a/pkgs/by-name/st/stdoutisatty/package.nix +++ b/pkgs/by-name/st/stdoutisatty/package.nix @@ -27,6 +27,9 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ # must specify the full path to `libstdoutisatty.so` in the nix store (lib.cmakeFeature "CMAKE_C_FLAGS" "-DLIB_FILE='\"${placeholder "out"}/lib/libstdoutisatty.so\"'") + # "Compatibility with CMake < 3.5 has been removed from CMake" + # "Compatibility with CMake < 3.10 will be removed from a future version of CMake" + "-DCMAKE_POLICY_VERSION_MINIMUM=3.10" ]; passthru = {