From c9bccd97ca86a84cb4cce385a85e0141fa2dff9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Sun, 25 May 2025 20:58:21 +0000 Subject: [PATCH] glog: Enable generation of pkg-config .pc file so dependents can find it glog 0.7.0 changed the default to off: https://github.com/google/glog/commit/e1f424a7e29c5ca493cfa07a59c4ca859b680f14 --- pkgs/by-name/gl/glog/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/gl/glog/package.nix b/pkgs/by-name/gl/glog/package.nix index cfe37529d3b3..ef5fb3be4277 100644 --- a/pkgs/by-name/gl/glog/package.nix +++ b/pkgs/by-name/gl/glog/package.nix @@ -38,6 +38,8 @@ stdenv.mkDerivation (finalAttrs: { # consumers of the CMake config file to fail at the configuration step. # Explicitly disabling unwind support sidesteps the issue. "-DWITH_UNWIND=OFF" + # Enable pkg-config support so that a `.pc` file is generated. + "-DWITH_PKGCONFIG=ON" ]; doCheck = true;