mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
mg: use build system pkg-config
This commit is contained in:
parent
33e9fa2367
commit
39e0e0754f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libbsd, ncurses }:
|
{ stdenv, fetchurl, pkgconfig, libbsd, ncurses, buildPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mg-${version}";
|
name = "mg-${version}";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
makeFlags = [ "PKG_CONFIG=${pkgconfig}/bin/pkg-config" ];
|
makeFlags = [ "PKG_CONFIG=${buildPackages.pkgconfig}/bin/pkg-config" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -m 555 -Dt $out/bin mg
|
install -m 555 -Dt $out/bin mg
|
||||||
|
Loading…
Reference in New Issue
Block a user