白い熊 <[email protected]> writes: > Apr 3, 2020 18:53:25 Marius Bakke <[email protected]>: > > >> ClamAV can be pulled from that branch through an inferior or with >> 'guix time-machine --branch=core-updates -- install clamav'. >> >> > > I have clamav installed in its own profile using a manifest file. How can I > specify the above in the manifest?
You will have to use an "inferior"[0]. Here is an untested manifest that should create a profile where HTTPS is working (note that you need to source the <profile>/etc/profile script).
(use-modules (guix inferior)
(guix channels))
(define channels
;; A channel with the "core-updates" branch.
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "core-updates"))))
(define inferior
;; An inferior representing the above channel.
(inferior-for-channels channels))
;; Create a manifest with ClamAV from the 'core-updates' branch, and
;; cURL + nss-certs to access HTTPS URLs.
(packages->manifest
(append (lookup-inferior-packages inferior "clamav")
(map specification->package
'("curl" ;to get the SSL_CERT_DIR variable
"nss-certs")))) ;to verify TLS certificates
0: https://guix.gnu.org/manual/en/guix.html#Inferiors
signature.asc
Description: PGP signature
