guix-devel
[Top][All Lists]
Advanced

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

Re: `guix pull` over HTTPS


From: Marius Bakke
Subject: Re: `guix pull` over HTTPS
Date: Tue, 28 Feb 2017 22:54:12 +0100
User-agent: Notmuch/0.23.5 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu)

Marius Bakke <address@hidden> writes:

> @@ -224,8 +225,11 @@ contained therein."
>    (with-error-handling
>      (let* ((opts  (parse-options))
>             (store (open-connection))
> +           (certs (string-append (package-output store nss-certs)
> +                                 "/etc/ssl/certs"))

Note: This only works if you have nss-certs in the store already. Not
sure how to convert this into a gexp.

>             (url   (assoc-ref opts 'tarball-url)))
> -      (let ((tarball (download-to-store store url "guix-latest.tar.gz")))
> +      (let ((tarball (download-to-store store url "guix-latest.tar.gz"
> +                                        #:verify-certificate? certs)))
>          (unless tarball
>            (leave (_ "failed to download up-to-date source, exiting\n")))
>          (parameterize ((%guile-for-build
> -- 
> 2.12.0

Attachment: signature.asc
Description: PGP signature


reply via email to

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