use callPackage for deps in another place too

This commit is contained in:
Nathan van Doorn 2023-10-13 19:28:06 +02:00
parent 2b2d63f1c5
commit ecaa46a18b
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,11 @@
{ {
stdenv, stdenv,
pkgs,
fetchFromGitHub, fetchFromGitHub,
autoconf,
automake,
pkgconfig,
libtool,
gst_all_1,
ajantv2, ajantv2,
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -15,7 +19,7 @@ stdenv.mkDerivation {
sourceRoot = "source/gst-plugin"; sourceRoot = "source/gst-plugin";
patches = [./no.patch]; patches = [./no.patch];
nativeBuildInputs = with pkgs; [autoconf automake pkgconfig libtool gst_all_1.gst-plugins-base ajantv2]; nativeBuildInputs = [autoconf automake pkgconfig libtool gst_all_1.gst-plugins-base ajantv2];
GST_NTV2 = "${ajantv2}/include"; GST_NTV2 = "${ajantv2}/include";
preConfigure = '' preConfigure = ''
./autogen.sh ./autogen.sh