about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-03-01 23:41:50 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-03 23:59:28 +0100
commita62338c549b692a3bad14590f5323aa84c212588 (patch)
treee8aaf5bd05ecc163a6a8f8b582c6f7225e09a384
parent41b070bcbb34e348c1a29bc7a62242215fbf9508 (diff)
rav1e: fix build
zlib.h header was missing and because of that compilation failed.
-rw-r--r--pkgs/tools/video/rav1e/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/video/rav1e/default.nix b/pkgs/tools/video/rav1e/default.nix
index 098b437ea0882..938a686f84735 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
   ];