diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2022-12-01 12:05:09 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-12-31 19:41:53 +0100 |
commit | c329eeb3a8a87edfa21675ce67353778a3b24773 (patch) | |
tree | 1b4543a29e1fb57e03cabfc2237d0935b23ac552 /guix/import | |
parent | d4ed8dc3c5743aac6766da0e54e0c969386ed8ac (diff) | |
download | guix-patches-c329eeb3a8a87edfa21675ce67353778a3b24773.tar guix-patches-c329eeb3a8a87edfa21675ce67353778a3b24773.tar.gz |
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')
-rw-r--r-- | guix/import/cran.scm | 2 |
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))) |