diff --git a/pkgs/by-name/ra/rav1e/package.nix b/pkgs/by-name/ra/rav1e/package.nix index 523b8e1de6a0..34dda9e57e3e 100644 --- a/pkgs/by-name/ra/rav1e/package.nix +++ b/pkgs/by-name/ra/rav1e/package.nix @@ -5,6 +5,8 @@ rustPlatform, fetchCrate, cargo-c, + darwin, + libiconv, nasm, nix-update-script, testers, @@ -27,6 +29,11 @@ rustPlatform.buildRustPackage rec { nasm ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ + libiconv + darwin.apple_sdk.frameworks.Security + ]; + postPatch = '' # remove feature that requires libgit2 and is only used to print a version string