From 34e4d0fd98aa66a0f46a6eb96dabadbbd44294b9 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 24 Jun 2020 20:39:29 -0400 Subject: [PATCH] avahi: use prefixed pkg-config --- pkgs/development/libraries/avahi/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/avahi/default.nix b/pkgs/development/libraries/avahi/default.nix index 4c7e5321f555..c401408406a1 100644 --- a/pkgs/development/libraries/avahi/default.nix +++ b/pkgs/development/libraries/avahi/default.nix @@ -18,6 +18,11 @@ stdenv.mkDerivation rec { sha256 = "0128n7jlshw4bpx0vg8lwj8qwdisjxi7mvniwfafgnkzzrfrpaap"; }; + prePatch = '' + substituteInPlace configure \ + --replace pkg-config "$PKG_CONFIG" + ''; + patches = [ ./no-mkdir-localstatedir.patch (fetchpatch {