help-guix
[Top][All Lists]
Advanced

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

trouble with 'guix import hackage'


From: Scott N. Walck
Subject: trouble with 'guix import hackage'
Date: Mon, 2 Apr 2018 16:10:54 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

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 address@hidden
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 "address@hidden" 
#: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 address@hidden --no-check-certificate
guix import: error: no-check-certificate: unrecognized option



reply via email to

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