From: "Scott N. Walck" <walck@lvc.edu>
To: help-guix@gnu.org
Subject: trouble with 'guix import hackage'
Date: Mon, 2 Apr 2018 16:10:54 -0400 [thread overview]
Message-ID: <20180402201054.GA30674@X250> (raw)
Hi folks,
I'm so excited about Guix! It's awesome! I am trying to use
'guix import hackage' and I'm running into problems. I tried an
example from the manual, shown below. It looks like there is a
problem with certificate verification at hackage.haskell.org
(although I'm not sure about this, because I got a similar error
using 'guix download' when I merely misspelled the file name). I
thought perhaps I could use --no-check-certificate, but it
appears that option only works with 'guix download'. I would
appreciate any ideas.
Thanks,
Scott
$ guix import hackage mtl@2.1.3.1
Backtrace:
11 (apply-smob/1 #<catch-closure 176c680>)
In ice-9/boot-9.scm:
705:2 10 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
619:8 9 (_ #(#(#<directory (guile-user) 1824140>)))
In guix/ui.scm:
1501:12 8 (run-guix-command _ . _)
In guix/scripts/import.scm:
114:11 7 (guix-import . _)
In guix/scripts/import/hackage.scm:
110:16 6 (guix-import-hackage . _)
In guix/import/hackage.scm:
259:24 5 (hackage->guix-package "mtl@2.1.3.1" #:include-test-dependencies? _ #:port _ #:cabal-environment _)
In ice-9/boot-9.scm:
829:9 4 (catch srfi-34 #<procedure 289f2e0 at guix/import/hackage.scm:119:2 ()> #<procedure 7f4d1d1fc7d0 at guix/import/hacka…> …)
In guix/import/hackage.scm:
124:19 3 (_)
In guix/http-client.scm:
88:25 2 (http-fetch _ #:port _ #:text? _ #:buffered? _ #:keep-alive? _ #:verify-certificate? _ #:headers _)
In guix/build/download.scm:
398:4 1 (open-connection-for-uri _ #:timeout _ #:verify-certificate? _)
296:6 0 (tls-wrap #<closed: file 2bb71c0> _ #:verify-certificate? _)
guix/build/download.scm:296:6: In procedure tls-wrap:
X.509 certificate of 'hackage.haskell.org' could not be verified:
insecure-algorithm
signer-not-found
invalid
$ guix import hackage mtl@2.1.3.1 --no-check-certificate
guix import: error: no-check-certificate: unrecognized option
next reply other threads:[~2018-04-02 20:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-02 20:10 Scott N. Walck [this message]
2018-04-02 20:20 ` trouble with 'guix import hackage' Leo Famulari
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=20180402201054.GA30674@X250 \
--to=walck@lvc.edu \
--cc=help-guix@gnu.org \
/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).