From 4fc551f4ddf0df178c34d6084afbfd118aa50168 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Tue, 10 Jan 2023 19:08:54 -0500 Subject: [PATCH] qt6.qtbase: fix the libexecdir in the pkg-config config file A few lines above this change, libexec is explicitly moved to the dev output. Therefore the pkg-config should point to it too. --- pkgs/development/libraries/qt-6/modules/qtbase.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-6/modules/qtbase.nix b/pkgs/development/libraries/qt-6/modules/qtbase.nix index 5bbed5cb51e5..4f1825e441a4 100644 --- a/pkgs/development/libraries/qt-6/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-6/modules/qtbase.nix @@ -270,7 +270,8 @@ stdenv.mkDerivation rec { # fixup .pc file (where to find 'moc' etc.) sed -i "$dev/lib/pkgconfig/Qt6Core.pc" \ - -e "/^bindir=/ c bindir=$dev/bin" + -e "/^bindir=/ c bindir=$dev/bin" \ + -e "/^libexecdir=/ c libexecdir=$dev/libexec" patchShebangs $out $dev '';