From: Marius Bakke <mbakke@fastmail.com>
To: 白い熊 <help-guix_gnu.org@sumou.com>, help-guix@gnu.org
Subject: Re: Guix and clamav, freshclam doesn't dowload
Date: Sat, 04 Apr 2020 13:53:43 +0200 [thread overview]
Message-ID: <87imifpiuw.fsf@devup.no> (raw)
In-Reply-To: <758484d8-ff25-4731-a720-32ed0ff55bec@localhost>
[-- Attachment #1.1: Type: text/plain, Size: 572 bytes --]
白い熊 <help-guix_gnu.org@sumou.com> writes:
> Apr 3, 2020 18:53:25 Marius Bakke <mbakke@fastmail.com>:
>
>
>> 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).
[-- Attachment #1.2: clamav.scm --]
[-- Type: text/plain, Size: 720 bytes --]
(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
[-- Attachment #1.3: Type: text/plain, Size: 56 bytes --]
0: https://guix.gnu.org/manual/en/guix.html#Inferiors
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2020-04-04 11:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 17:50 Guix and clamav, freshclam doesn't dowload 白い熊
2020-04-04 10:48 ` 白い熊
2020-04-04 11:53 ` Marius Bakke [this message]
2020-04-04 12:19 ` 白い熊
2020-04-04 17:36 ` Marius Bakke
2020-04-05 5:29 ` 白い熊
2020-04-17 10:31 ` 白い熊
-- strict thread matches above, loose matches on Subject: below --
2020-04-03 12:57 白い熊
2020-04-03 16:25 ` Tobias Geerinckx-Rice
2020-04-03 16:53 ` Marius Bakke
2020-04-03 17:04 ` Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87imifpiuw.fsf@devup.no \
--to=mbakke@fastmail.com \
--cc=help-guix@gnu.org \
--cc=help-guix_gnu.org@sumou.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).