From 04bf3a5a24294b530a985b95ec8aa984c7d339ae Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 29 Aug 2024 09:41:11 +0300 Subject: [PATCH] libogg: allow dependents to find it with cmake --- pkgs/development/libraries/libogg/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/libraries/libogg/default.nix b/pkgs/development/libraries/libogg/default.nix index 805152b94891..ae104d5f8df3 100644 --- a/pkgs/development/libraries/libogg/default.nix +++ b/pkgs/development/libraries/libogg/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, + cmake, }: stdenv.mkDerivation (finalAttrs: { @@ -19,6 +20,14 @@ stdenv.mkDerivation (finalAttrs: { "doc" ]; + nativeBuildInputs = [ + # Can also be built with the `./configure` script available in the release, + # however using cmake makes sure the resulting tree would include + # `OggConfig.cmake` and other cmake files useful when packages try to look it + # up with cmake. + cmake + ]; + meta = { description = "Media container library to manipulate Ogg files"; longDescription = ''