From a62338c549b692a3bad14590f5323aa84c212588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 1 Mar 2023 23:41:50 +0100 Subject: [PATCH] rav1e: fix build zlib.h header was missing and because of that compilation failed. --- pkgs/tools/video/rav1e/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/video/rav1e/default.nix b/pkgs/tools/video/rav1e/default.nix index 098b437ea088..938a686f8473 100644 --- a/pkgs/tools/video/rav1e/default.nix +++ b/pkgs/tools/video/rav1e/default.nix @@ -29,9 +29,11 @@ in rustPlatform.buildRustPackage rec { depsBuildBuild = [ pkg-config ]; - nativeBuildInputs = [ cargo-c libgit2 nasm zlib ]; + nativeBuildInputs = [ cargo-c libgit2 nasm ]; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = [ + zlib + ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ];