libaom: move libvmaf and libjxl to propagatedBuildInputs

pkg-config doesn't have absolute store paths so propogating the dependencies was required
Fixes the build for gst_all_1.gst-plugins-bad

Co-authored-by: Sergei Trofimovich <slyich@gmail.com>
main
Daniel Olsen 2 years ago
parent 9228c0a2d2
commit 826794479e
  1. 8
      pkgs/development/libraries/libaom/default.nix

@ -1,5 +1,5 @@
{ lib, stdenv, fetchzip, yasm, perl, cmake, pkg-config, python3
, enableButteraugli ? false, libjxl, libhwy # Broken
, enableButteraugli ? false, libjxl # Broken
, enableVmaf ? true, libvmaf
}:
@ -19,10 +19,8 @@ stdenv.mkDerivation rec {
yasm perl cmake pkg-config python3
];
buildInputs = lib.optionals enableButteraugli [
libjxl
libhwy
] ++ lib.optional enableVmaf libvmaf;
propagatedBuildInputs = lib.optional enableButteraugli libjxl
++ lib.optional enableVmaf libvmaf;
preConfigure = ''
# build uses `git describe` to set the build version

Loading…
Cancel
Save