unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: c4t0 <c4t0@riseup.net>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: guix import hackage fails with errors, and failed tests
Date: Wed, 24 Mar 2021 17:58:19 +0100	[thread overview]
Message-ID: <CAJ3okZ2GvptOd7X_auwZ-FDM+ADpFix5rOp90Ps0JUcBRpViFQ@mail.gmail.com> (raw)
In-Reply-To: <87mtut7a6a.fsf@riseup.net>

Hi,

On Wed, 24 Mar 2021 at 04:19, c4t0 <c4t0@riseup.net> wrote:

> I'm having problems with 'guix import' in my environment:
> $guix import hackage -t ghc-events
> Syntax error: unexpected token : common (at line 44, column 0)
> Syntax error: unexpected end of input
> guix import: error: failed to download cabal file for package 'ghc-events'

Probably because the cabal file is bad formed.  Or better worded,
because the Guix cabal parser fails to parse the line 44 starting by
'common'.
Well, give a look at (guix import cabal).

> so I cloned guix, and:
>
> guix environment guix --pure --ad-hoc help2man git strace --container

Somehow, --container implies --pure. :-)


HTH,
simon


  parent reply	other threads:[~2021-03-24 16:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 22:54 guix import hackage fails with errors, and failed tests c4t0
2021-03-24 15:13 ` c4t0
2021-03-24 16:58 ` zimoun [this message]
2021-03-24 19:41   ` c4t0
2021-03-24 21:12     ` zimoun
2021-03-25 19:23       ` c4t0
2021-03-26  4:37         ` zimoun
2021-03-26 20:21           ` c4t0
2021-03-26 22:37             ` zimoun

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=CAJ3okZ2GvptOd7X_auwZ-FDM+ADpFix5rOp90Ps0JUcBRpViFQ@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=c4t0@riseup.net \
    --cc=guix-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).