self: Add guile-lzma as a dependency.

This is a follow-up to 35ce3e5de6, fixing
Disarchive recovery when the download script is run from a 'guix pull'
profile.

* guix/self.scm (specification->package): Add "guile-lzma".
(compiled-guix): Add GUILE-LZMA to DEPENDENCIES in
the #:dependencies argument to 'guix-command'.
This commit is contained in:
Timothy Sample 2021-12-22 17:35:56 -05:00
parent 7f6260d9fe
commit 05b1f024be
No known key found for this signature in database
GPG Key ID: 2AC6A5EC1C357C59

View File

@ -64,6 +64,7 @@
("guile-gcrypt" (ref '(gnu packages gnupg) 'guile-gcrypt))
("gnutls" (ref '(gnu packages tls) 'gnutls))
("disarchive" (ref '(gnu packages backup) 'disarchive))
("guile-lzma" (ref '(gnu packages guile) 'guile-lzma))
("gzip" (ref '(gnu packages compression) 'gzip))
("bzip2" (ref '(gnu packages compression) 'bzip2))
("xz" (ref '(gnu packages compression) 'xz))
@ -789,6 +790,9 @@ itself."
(define disarchive
(specification->package "disarchive"))
(define guile-lzma
(specification->package "guile-lzma"))
(define dependencies
(append-map transitive-package-dependencies
(list guile-gcrypt gnutls guile-git guile-avahi
@ -1009,7 +1013,9 @@ itself."
(command (guix-command modules
#:source source
#:dependencies
(cons disarchive dependencies)
(cons* disarchive
guile-lzma
dependencies)
#:guile guile-for-build
#:guile-version guile-version)))
(whole-package name modules dependencies