diff --git a/pkgs/by-name/va/vapoursynth-nnedi3/package.nix b/pkgs/by-name/va/vapoursynth-nnedi3/package.nix index 1fe4b8597d72..a40d9742ba67 100644 --- a/pkgs/by-name/va/vapoursynth-nnedi3/package.nix +++ b/pkgs/by-name/va/vapoursynth-nnedi3/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, autoreconfHook, pkg-config, vapoursynth, @@ -19,6 +20,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-jd/PCXhbCZGMsoXjekbeqMSRVBJAy4INdpkTbZFjVO0="; }; + patches = [ + (fetchpatch { + name = "build-fixes-for-aarch64-apple-silicon.patch"; + url = "https://github.com/dubhater/vapoursynth-nnedi3/commit/15c15080ed4406929aa0d2d6a3f83ca3e26bc979.patch"; + hash = "sha256-8gNj4LixfrGq0MaIYdZuwSK/2iyh1E9s/uuSBJHZwx8="; + }) + ]; + nativeBuildInputs = [ autoreconfHook pkg-config