diff options
-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 f36e9482cf..562917c0a0 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -227,7 +227,7 @@ s-expression corresponding to that package, or #f on failure." (match (package-source package) ((? origin? origin) (match (origin-uri origin) - ((url rest ...) + ((or (? string? url) (url _ ...)) (let ((end (string-rindex url #\_)) (start (string-rindex url #\/))) ;; The URL ends on |