nixpkgs: add pkgconfig to icestorm nativeBuildInputs

This helps iceprog find libftdi appropriately on its own, without a
bunch of gross errors in the build process (which should not be a
problem, but may *look* like one!)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2017-12-06 22:16:07 -06:00
parent 520fa67746
commit 0d82c7ec18

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3, libftdi }:
{ stdenv, fetchFromGitHub, python3, libftdi, pkgconfig }:
stdenv.mkDerivation rec {
name = "icestorm-${version}";
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "18qy7gylnydgzmqry1b4r0ilm6lkjdcyn0wj03syxdig9dbjiacm";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ python3 libftdi ];
preBuild = ''
makeFlags="PREFIX=$out $makeFlags"