mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
mcgrid: pkgconfig is the only way to locate mcgrid
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user