mcgrid: pkgconfig is the only way to locate mcgrid

This commit is contained in:
Dmitry Kalinkin 2017-01-08 21:16:52 -05:00
parent 44a78fb0da
commit bbc3082ebd
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fastnlo, rivet, sherpa }:
{ stdenv, fetchurl, fastnlo, rivet, pkgconfig, sherpa }:
stdenv.mkDerivation rec {
name = "mcgrid-${version}";
@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ fastnlo rivet ];
propagatedNativeBuildInputs = [ pkgconfig ];
preConfigure = ''
substituteInPlace mcgrid.pc.in \