guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: import/cran: Depend on gfortran if .f files are detected too.


From: guix-commits
Subject: 01/02: import/cran: Depend on gfortran if .f files are detected too.
Date: Sat, 31 Dec 2022 13:43:03 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit c329eeb3a8a87edfa21675ce67353778a3b24773
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Dec 1 12:05:09 2022 +0100

    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.
---
 guix/import/cran.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]