about summary refs log tree commit diff
path: root/pkgs/applications/editors/mg/default.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-04-27 23:56:25 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-05-16 00:21:21 +0000
commitee8cfe4bf3319e4eb30ab3be6bf890f615f89453 (patch)
tree1a89ee15367a181933a2eed83c0d83f81c697c46 /pkgs/applications/editors/mg/default.nix
parentc71ab32a678a98ce1ec069956bc55d6ea606f55c (diff)
downloadnixlib-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar
nixlib-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.gz
nixlib-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.bz2
nixlib-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.lz
nixlib-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.xz
nixlib-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.zst
nixlib-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.zip
treewide: pkg-config has `targetPrefix`
Diffstat (limited to 'pkgs/applications/editors/mg/default.nix')
-rw-r--r--pkgs/applications/editors/mg/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/mg/default.nix b/pkgs/applications/editors/mg/default.nix
index 612cdcc7f881..ef6943001b9c 100644
--- a/pkgs/applications/editors/mg/default.nix
+++ b/pkgs/applications/editors/mg/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  makeFlags = [ "PKG_CONFIG=${buildPackages.pkgconfig}/bin/pkg-config" ];
+  makeFlags = [ "PKG_CONFIG=${buildPackages.pkgconfig}/bin/${buildPackages.pkgconfig.targetPrefix}pkg-config" ];
 
   installPhase = ''
     install -m 555 -Dt $out/bin mg