From 41d426db5b9b0e9f4157fbf433ecc0ec16ebf0aa Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 6 Sep 2026 19:10:58 +0200 Subject: [PATCH] protobuf: use separate outputs --- pkgs/development/libraries/protobuf/generic.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/protobuf/generic.nix b/pkgs/development/libraries/protobuf/generic.nix index 45db4049d10a..08c2ac50cad5 100644 --- a/pkgs/development/libraries/protobuf/generic.nix +++ b/pkgs/development/libraries/protobuf/generic.nix @@ -37,6 +37,12 @@ stdenv.mkDerivation (finalAttrs: { inherit hash; }; + outputs = [ + "out" + "lib" + "dev" + ]; + patches = lib.optionals (lib.versionOlder version "22") [ # fix protobuf-targets.cmake installation paths, and allow for CMAKE_INSTALL_LIBDIR to be absolute