From 90914ee74f4fa0faf7b13adf063497d019c037cb Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 15 Sep 2024 17:55:06 +0200 Subject: [PATCH] qpdfview: fix build With structuredAttrs support in 1bcca7d66b0a052b703d029c4593434b84136455 this broke, because the following line turns qmakeFlags from a string into an array: qmakeFlags+=(...) It will then be handled slightly different when it's an array, so that all the xxx_INSTALL_PATH variables are passed as a *single* argument, which breaks the build. Resolves #342087 --- pkgs/applications/office/qpdfview/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/office/qpdfview/default.nix b/pkgs/applications/office/qpdfview/default.nix index 56bd5f126afa..7d44c684fd99 100644 --- a/pkgs/applications/office/qpdfview/default.nix +++ b/pkgs/applications/office/qpdfview/default.nix @@ -40,6 +40,9 @@ mkDerivation rec { ghostscript ]; + # needed for qmakeFlags+=( below + __structuredAttrs = true; + preConfigure = '' lrelease qpdfview.pro qmakeFlags+=(*.pro)