Subject: [PATCH core-updates-frozen] gnu: qpdfview: Fix build phase

From: Josselin Poiret <[email-masked]>
Date: Thu, 21 Oct 2021 15:03:57 +0200

* gnu/packages/pdf.scm (qpdfview)[arguments]: Fix it
---
 gnu/packages/pdf.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 13808b003d..12016e968f 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -864,9 +864,9 @@ (define-public qpdfview
        #:phases
        (modify-phases %standard-phases
          (replace 'configure
-           (lambda _
+           (lambda* (#:key outputs #:allow-other-keys)
              (substitute* "qpdfview.pri"
-               (("/usr") (assoc-ref %outputs "out")))
+               (("/usr") (assoc-ref outputs "out")))
              (invoke "qmake" "qpdfview.pro"))))))
     (home-page "https://launchpad.net/qpdfview")
     (synopsis "Tabbed document viewer")
-- 
2.33.1