me
/
guix
Archived
1
0
Fork 0

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
Lars-Dominik Braun 2022-12-01 12:05:09 +01:00 committed by Ricardo Wurmus
parent d4ed8dc3c5
commit c329eeb3a8
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 1 deletions

View File

@ -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)))