mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
build-system: texlive: Only build packages in the current directory.
* guix/build/texlive-build-system.scm (build): Use scandir instead of find-files.
This commit is contained in:
parent
fed7200862
commit
1678be097b
1 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ (define-module (guix build texlive-build-system)
|
|||
#:use-module ((guix build gnu-build-system) #:prefix gnu:)
|
||||
#:use-module (guix build utils)
|
||||
#:use-module (ice-9 match)
|
||||
#:use-module (ice-9 ftw)
|
||||
#:use-module (srfi srfi-1)
|
||||
#:use-module (srfi srfi-26)
|
||||
#:export (%standard-phases
|
||||
|
@ -62,7 +63,7 @@ (define* (build #:key inputs build-targets tex-format #:allow-other-keys)
|
|||
(mkdir "build")
|
||||
(every (cut compile-with-latex tex-format <>)
|
||||
(if build-targets build-targets
|
||||
(find-files "." "\\.ins$"))))
|
||||
(scandir "." (cut string-suffix? ".ins" <>)))))
|
||||
|
||||
(define* (install #:key outputs tex-directory #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue