guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: lyx: Improve package style.


From: guix-commits
Subject: 07/08: gnu: lyx: Improve package style.
Date: Sun, 8 Jan 2023 06:22:04 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 6ad0fa893d6ce6183b50eacc6ab53fd07223d49f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jan 8 11:55:37 2023 +0100

    gnu: lyx: Improve package style.
    
    * gnu/packages/tex.scm (lyx)[source]<snippet>: Remove trailing #T.
    [arguments]<#phases>: Use SEARCH-INPUT-FILE.
    [propagated-inputs]: Remove input label.
---
 gnu/packages/tex.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ba6bb4357a..83a850c0b4 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8330,8 +8330,7 @@ and Karl Berry.")
               (modules '((guix build utils)))
               (snippet
                '(begin
-                  (delete-file-recursively "3rdparty")
-                  #t))))
+                  (delete-file-recursively "3rdparty")))))
     (build-system qt-build-system)
     (arguments
      (list #:configure-flags
@@ -8352,8 +8351,8 @@ and Karl Berry.")
                                   "src/support/filetools.cpp")
                      (("\"python ")
                       (string-append "\""
-                                     (assoc-ref inputs "python")
-                                     "/bin/python3 ")))))
+                                     (search-input-file inputs "/bin/python3")
+                                     " ")))))
                (add-after 'unpack 'add-missing-test-file
                  (lambda _
                    ;; Create missing file that would cause tests to fail.
@@ -8369,7 +8368,7 @@ and Karl Berry.")
            qtsvg-5
            zlib))
     (propagated-inputs
-     `(("texlive" ,(texlive-updmap.cfg (list texlive-fonts-ec)))))
+     (list (texlive-updmap.cfg (list texlive-fonts-ec))))
     (native-inputs
      (list python pkg-config))
     (home-page "https://www.lyx.org/";)



reply via email to

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