help-guix
[Top][All Lists]
Advanced

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

Re: Guix and clamav, freshclam doesn't dowload


From: Marius Bakke
Subject: Re: Guix and clamav, freshclam doesn't dowload
Date: Sat, 04 Apr 2020 13:53:43 +0200
User-agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu)

白い熊 <address@hidden> writes:

> Apr 3, 2020 18:53:25 Marius Bakke <address@hidden>:
>
>
>> 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

Attachment: signature.asc
Description: PGP signature


reply via email to

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