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:
parent
520fa67746
commit
0d82c7ec18
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, python3, libftdi }:
|
{ stdenv, fetchFromGitHub, python3, libftdi, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "icestorm-${version}";
|
name = "icestorm-${version}";
|
||||||
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "18qy7gylnydgzmqry1b4r0ilm6lkjdcyn0wj03syxdig9dbjiacm";
|
sha256 = "18qy7gylnydgzmqry1b4r0ilm6lkjdcyn0wj03syxdig9dbjiacm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ python3 libftdi ];
|
buildInputs = [ python3 libftdi ];
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlags="PREFIX=$out $makeFlags"
|
makeFlags="PREFIX=$out $makeFlags"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user