summaryrefslogtreecommitdiff
path: root/guix/import/cran.scm
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2022-12-01 12:05:09 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-31 19:41:53 +0100
commitc329eeb3a8a87edfa21675ce67353778a3b24773 (patch)
tree1b4543a29e1fb57e03cabfc2237d0935b23ac552 /guix/import/cran.scm
parentd4ed8dc3c5743aac6766da0e54e0c969386ed8ac (diff)
import/cran: Depend on gfortran if .f files are detected too.
There was an inconsistency between tarball-needs-fortran? and directory-needs-fortran?. * guix/import/cran.scm (directory-needs-fortran?): Match .f files too.
Diffstat (limited to 'guix/import/cran.scm')
-rw-r--r--guix/import/cran.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index d33f909369..f6d24820a8 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -443,7 +443,7 @@ empty list when the FIELD cannot be found."
(define (directory-needs-fortran? dir)
"Check if the directory DIR contains Fortran source files."
- (match (find-files dir "\\.f(90|95)$")
+ (match (find-files dir "\\.f(90|95)?$")
(() #f)
(_ #t)))