[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/22: import: texlive: Take different package database as optional argu
From: |
guix-commits |
Subject: |
02/22: import: texlive: Take different package database as optional argument. |
Date: |
Thu, 18 Nov 2021 09:53:20 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 424f2c92b4043c13165beb2f746ab5c10f8ddf83
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Nov 17 21:38:24 2021 +0000
import: texlive: Take different package database as optional argument.
* guix/import/texlive.scm (tlpdb->package): Expect PACKAGE-DATABASE as
argument.
(texlive->guix-package): Accept PACKAGE-DATABASE keyword.
---
guix/import/texlive.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm
index 15afc78..bdef9f5 100644
--- a/guix/import/texlive.scm
+++ b/guix/import/texlive.scm
@@ -203,8 +203,8 @@
files)
equal?)))
-(define (tlpdb->package name)
- (and-let* ((data (assoc-ref (tlpdb) name))
+(define (tlpdb->package name package-database)
+ (and-let* ((data (assoc-ref package-database name))
(dirs (files->directories
(map (lambda (dir)
(string-drop dir (string-length "texmf-dist/")))
@@ -254,10 +254,10 @@
(define texlive->guix-package
(memoize
- (lambda* (name #:key repo version)
+ (lambda* (name #:key repo version (package-database tlpdb))
"Find the metadata for NAME in the tlpdb and return the `package'
s-expression corresponding to that package, or #f on failure."
- (tlpdb->package name))))
+ (tlpdb->package name (package-database)))))
(define (texlive-recursive-import name)
(recursive-import name
- branch master updated (039c384 -> 93b2ce1), guix-commits, 2021/11/18
- 01/22: import: texlive: Print inputs with labels and guixified names., guix-commits, 2021/11/18
- 02/22: import: texlive: Take different package database as optional argument.,
guix-commits <=
- 07/22: gnu: r-msnbase: Update to 2.20.1., guix-commits, 2021/11/18
- 10/22: gnu: r-ggtree: Update to 3.2.1., guix-commits, 2021/11/18
- 11/22: gnu: r-icobra: Update to 1.22.1., guix-commits, 2021/11/18
- 12/22: gnu: r-geoquery: Update to 2.62.1., guix-commits, 2021/11/18
- 16/22: gnu: r-biocset: Update to 1.8.1., guix-commits, 2021/11/18
- 21/22: gnu: r-biodb: Update to 1.2.1., guix-commits, 2021/11/18
- 18/22: gnu: r-hdf5array: Update to 1.22.1., guix-commits, 2021/11/18
- 17/22: gnu: r-s4vectors: Update to 0.32.2., guix-commits, 2021/11/18
- 05/22: gnu: r-chipseeker: Update to 1.30.2., guix-commits, 2021/11/18
- 08/22: gnu: r-systempiper: Update to 2.0.1., guix-commits, 2021/11/18