summary refs log tree commit diff
path: root/pkgs/build-support/dotnetbuildhelpers
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/build-support/dotnetbuildhelpers
parentc71ab32a678a98ce1ec069956bc55d6ea606f55c (diff)
downloadnixpkgs-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar
nixpkgs-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.gz
nixpkgs-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.bz2
nixpkgs-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.lz
nixpkgs-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.xz
nixpkgs-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.tar.zst
nixpkgs-ee8cfe4bf3319e4eb30ab3be6bf890f615f89453.zip
treewide: pkg-config has `targetPrefix`
Diffstat (limited to 'pkgs/build-support/dotnetbuildhelpers')
-rw-r--r--pkgs/build-support/dotnetbuildhelpers/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/dotnetbuildhelpers/default.nix b/pkgs/build-support/dotnetbuildhelpers/default.nix
index 0edfd0b467a..809619ed55d 100644
--- a/pkgs/build-support/dotnetbuildhelpers/default.nix
+++ b/pkgs/build-support/dotnetbuildhelpers/default.nix
@@ -12,7 +12,7 @@
         cp -v "$script" "$target"/"$scriptName"
         chmod 755 "$target"/"$scriptName"
         patchShebangs "$target"/"$scriptName"
-        substituteInPlace "$target"/"$scriptName" --replace pkg-config ${pkgconfig}/bin/pkg-config
+        substituteInPlace "$target"/"$scriptName" --replace pkg-config ${pkgconfig}/bin/${pkgconfig.targetPrefix}pkg-config
         substituteInPlace "$target"/"$scriptName" --replace monodis ${mono}/bin/monodis
       done
     ''