From 0d82c7ec181bb4a0ef6482fd04a1ee66fc577124 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Wed, 6 Dec 2017 22:16:07 -0600 Subject: [PATCH] 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 --- pkgs/development/tools/icestorm/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/icestorm/default.nix b/pkgs/development/tools/icestorm/default.nix index d330ad5d548..20f5f8d17e8 100644 --- a/pkgs/development/tools/icestorm/default.nix +++ b/pkgs/development/tools/icestorm/default.nix @@ -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"