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.master
parent
d4ed8dc3c5
commit
c329eeb3a8
|
@ -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)))
|
||||
|
||||
|
|
Reference in New Issue