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