summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-07-02 15:19:47 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-07-09 17:07:27 +0200
commit1678be097bb3f6403bbc4ab8414f3e7f02c70e44 (patch)
treed258453aa768bd6c2855d35766686d699efec6ab /guix
parentfed7200862ef33cc203e4c08a8b264318bada0fd (diff)
downloadgnu-guix-1678be097bb3f6403bbc4ab8414f3e7f02c70e44.tar
gnu-guix-1678be097bb3f6403bbc4ab8414f3e7f02c70e44.tar.gz
build-system: texlive: Only build packages in the current directory.
* guix/build/texlive-build-system.scm (build): Use scandir instead of find-files.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/texlive-build-system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/texlive-build-system.scm b/guix/build/texlive-build-system.scm
index c1fd9fd9af..7b10198fd2 100644
--- a/guix/build/texlive-build-system.scm
+++ b/guix/build/texlive-build-system.scm
@@ -20,6 +20,7 @@
#: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 @@
(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"))