guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add texlive-psnfss/fixed.


From: guix-commits
Subject: 03/05: gnu: Add texlive-psnfss/fixed.
Date: Sun, 13 Feb 2022 03:38:27 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 6ce3c0043bc16358472e8b6d80eb202fa7098ce1
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Feb 12 23:25:41 2022 +0100

    gnu: Add texlive-psnfss/fixed.
    
    * gnu/packages/tex.scm (texlive-psnfss/fixed): New variable.
---
 gnu/packages/tex.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d0f634ad01..3d54a1e863 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4441,6 +4441,23 @@ means to select single glyphs from symbol fonts.  The 
bundle as a whole is
 part of the LaTeX required set of packages.")
       (license license:lppl1.2+))))
 
+(define-public texlive-psnfss/fixed
+  (package
+    (inherit texlive-psnfss)
+    (name "texlive-psnfss-fixed")
+    (arguments
+     (substitute-keyword-arguments (package-arguments texlive-psnfss)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-before 'copy-files 'unchdir
+             (lambda _
+               (chdir "../../..")))
+           (add-after 'copy-files 'delete-extra-files
+             (lambda* (#:key outputs #:allow-other-keys)
+               (delete-file-recursively
+                (string-append (assoc-ref outputs "out")
+                               
"/share/texmf-dist/source/latex/psnfss/build"))))))))))
+
 (define-deprecated-package texlive-latex-psnfss texlive-psnfss)
 
 ;; For user profiles



reply via email to

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