Re: Guix and clamav, freshclam doesn't dowload

2020-04-04 Thread 白い熊
Apr 4, 2020 19:36:19 Marius Bakke :

> This was actually a bug in Guix that was fixed just now:
> . Please try again after a 'guix pull', it
> should work better now! :-)

Yes — it works now! Many thanks. :@)

-- 
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem /
Mit freundlichen Grüßen
白い熊






Re: Guix and clamav, freshclam doesn't dowload

2020-04-04 Thread Marius Bakke
Hi 白い熊,

白い熊  writes:

> Unfortunately, this fails to install with:
>
> Updating channel 'guix' from Git repository at 
> 'https://git.savannah.gnu.org/git/guix.git'...
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> 1.2 MB will be downloaded:
> /gnu/store/p5qdvijyl3vmq2phzmbgcka6jk7pbmmm-module-import
> /gnu/store/adkz4x95qy12z7d0s4146prx2hcz46y4-module-import-compiled
> /gnu/store/y2q7305gyh01nmngkfkq9gdz8zs3zfi1-compute-guix-derivation
> Backtrace:
> 1 (primitive-load "/home/shiroikuma/.config/guix/current/bin/guix")
> In guix/ui.scm:
> 1936:12 0 (run-guix-command _ . _)
>
> guix/ui.scm:1936:12: In procedure run-guix-command:
> In procedure put-bytevector: Wrong type argument in position 1 (expecting 
> open output port): #

This was actually a bug in Guix that was fixed just now:
.  Please try again after a 'guix pull', it
should work better now!  :-)


signature.asc
Description: PGP signature


Re: Guix and clamav, freshclam doesn't dowload

2020-04-04 Thread 白い熊
Apr 4, 2020 13:53:51 Marius Bakke :

> You will have to use an "inferior"[0]. Here is an untested manifest

Thank you!

Unfortunately, this fails to install with:

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
1.2 MB will be downloaded:
/gnu/store/p5qdvijyl3vmq2phzmbgcka6jk7pbmmm-module-import
/gnu/store/adkz4x95qy12z7d0s4146prx2hcz46y4-module-import-compiled
/gnu/store/y2q7305gyh01nmngkfkq9gdz8zs3zfi1-compute-guix-derivation
Backtrace:
1 (primitive-load "/home/shiroikuma/.config/guix/current/bin/guix")
In guix/ui.scm:
1936:12 0 (run-guix-command _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
In procedure put-bytevector: Wrong type argument in position 1 (expecting open 
output port): #


-- 
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem /
Mit freundlichen Grüßen
白い熊






Re: Guix and clamav, freshclam doesn't dowload

2020-04-04 Thread Marius Bakke
白い熊  writes:

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


Re: Guix and clamav, freshclam doesn't dowload

2020-04-04 Thread 白い熊
Apr 3, 2020 19:51:25 白い熊 :

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

It seems to me that I need to somehow specify the git branch along the 
guidelines example in ¹, however I'm not advanced enough to do this.

Can anyone help me write the manifest file to specify clamav from the above?
—
[1] http://guix.gnu.org/manual/en/html_node/Version-Numbers.html#Version-Numbers


-- 
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem /
Mit freundlichen Grüßen
白い熊