summary refs log tree commit diff
path: root/pkgs/applications/editors/mg/default.nix
diff options
context:
space:
mode:
authorMichael Eden <themichaeleden@gmail.com>2019-03-16 11:39:59 -0400
committerMichael Eden <themichaeleden@gmail.com>2019-03-16 16:27:04 -0400
commit39e0e0754f9321673a1632bf43bce2f1e75ba92e (patch)
tree43484c76f0b744079ed0d62139d0decd07eaf4f2 /pkgs/applications/editors/mg/default.nix
parent33e9fa2367c973d91bd729adce12634cc010dc8c (diff)
downloadnixpkgs-39e0e0754f9321673a1632bf43bce2f1e75ba92e.tar
nixpkgs-39e0e0754f9321673a1632bf43bce2f1e75ba92e.tar.gz
nixpkgs-39e0e0754f9321673a1632bf43bce2f1e75ba92e.tar.bz2
nixpkgs-39e0e0754f9321673a1632bf43bce2f1e75ba92e.tar.lz
nixpkgs-39e0e0754f9321673a1632bf43bce2f1e75ba92e.tar.xz
nixpkgs-39e0e0754f9321673a1632bf43bce2f1e75ba92e.tar.zst
nixpkgs-39e0e0754f9321673a1632bf43bce2f1e75ba92e.zip
mg: use build system pkg-config
Diffstat (limited to 'pkgs/applications/editors/mg/default.nix')
-rw-r--r--pkgs/applications/editors/mg/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/mg/default.nix b/pkgs/applications/editors/mg/default.nix
index d0367d7c305..4fb8d51b969 100644
--- a/pkgs/applications/editors/mg/default.nix
+++ b/pkgs/applications/editors/mg/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, libbsd, ncurses }:
+{ stdenv, fetchurl, pkgconfig, libbsd, ncurses, buildPackages }:
 
 stdenv.mkDerivation rec {
   name = "mg-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  makeFlags = [ "PKG_CONFIG=${pkgconfig}/bin/pkg-config" ];
+  makeFlags = [ "PKG_CONFIG=${buildPackages.pkgconfig}/bin/pkg-config" ];
 
   installPhase = ''
     install -m 555 -Dt $out/bin mg