commit 49dd3dda7f20e3f3d27b214c9edfd2a4d96442cc parent 42c93f70132f6a53accd27984093a1bf13fee28f Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Wed, 8 Jun 2022 23:48:12 +0300 imsg-compat: fix libimsg.pc Diffstat:
M | pkgs/misc/imsg-compat/default.nix | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/pkgs/misc/imsg-compat/default.nix b/pkgs/misc/imsg-compat/default.nix @@ -11,7 +11,12 @@ stdenv.mkDerivation rec { hash = "sha256-TFwww3HnTuURVCSMWyaMfwjEWcgGQr1pyPkop6EoHIY="; }; - installFlags = [ "PREFIX=$(out)" ]; + postPatch = '' + substituteInPlace libimsg.pc.in \ + --replace "@LIBDIR@" "lib" + ''; + + makeFlags = [ "PREFIX=$(out)" ]; meta = with lib; { description = "Unofficial port of OpenBSD's imsg utilities";