guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch staging updated: gnu: polkit-mozjs: Fix native-inputs on stage.


From: guix-commits
Subject: branch staging updated: gnu: polkit-mozjs: Fix native-inputs on stage.
Date: Wed, 20 Jul 2022 09:11:08 -0400

This is an automated email from the git hooks/post-receive script.

mbakke pushed a commit to branch staging
in repository guix.

The following commit(s) were added to refs/heads/staging by this push:
     new 7767d30f55 gnu: polkit-mozjs: Fix native-inputs on stage.
7767d30f55 is described below

commit 7767d30f55a0fa280d716630d5db3771c122e621
Author: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
AuthorDate: Mon Jun 27 12:18:05 2022 +0200

    gnu: polkit-mozjs: Fix native-inputs on stage.
    
    * gnu/packages/polkit.scm (polkit-duktape)[arguments]: Change the use of
      `inputs' to `(or native-inputs inputs)' when searching for `docbook-xsl'
      path.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/polkit.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm
index a75608cd43..9a3703b196 100644
--- a/gnu/packages/polkit.scm
+++ b/gnu/packages/polkit.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -119,10 +120,11 @@
                 (("@INTROSPECTION_TYPELIBDIR@")
                  (string-append out "/lib/girepository-1.0/"))))))
          (add-after 'unpack 'fix-manpage-generation
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((xsldoc (string-append (assoc-ref inputs "docbook-xsl")
-                                          "/xml/xsl/docbook-xsl-"
-                                          ,(package-version docbook-xsl))))
+           (lambda* (#:key inputs native-inputs #:allow-other-keys)
+             (let ((xsldoc (string-append
+                             (assoc-ref (or native-inputs inputs) 
"docbook-xsl")
+                             "/xml/xsl/docbook-xsl-"
+                             ,(package-version docbook-xsl))))
                (substitute* '("docs/man/Makefile.am" "docs/man/Makefile.in")
                  (("http://docbook.sourceforge.net/release/xsl/current";)
                   xsldoc)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]