all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sergiu Marton <brown121407@gmail.com>
To: 38946@debbugs.gnu.org
Subject: bug#38946: guix import fails for cabal-helper
Date: Sun, 5 Jan 2020 15:23:56 +0000	[thread overview]
Message-ID: <CAJ=hFwS+Yz1J3JYoWV5-8d5rSBasd2yCuA2OC+pTyBg8WzMQ5A@mail.gmail.com> (raw)

I've been trying to improve the Haskell tooling we have here on Guix, but
I ran into this problem: if I try to do ~guix import hackage
cabal-helper~ it fails with:

Syntax error: unexpected token : common (at line 76, column 0)
Syntax error: unexpected end of input
guix import: error: failed to download cabal file for package 'cabal-helper'

If I import ghc-mod (which depends on cabal-helper) recursively, I get this:

Syntax error: unexpected token : common (at line 76, column 0)
Syntax error: unexpected end of input
Backtrace:
          13 (primitive-load "/home/brown/.config/guix/current/bin/g…")
In guix/ui.scm:
  1806:12 12 (run-guix-command _ . _)
In guix/scripts/import.scm:
   116:11 11 (guix-import . _)
In guix/scripts/import/hackage.scm:
   132:26 10 (guix-import-hackage . _)
In guix/import/utils.scm:
    425:7  9 (recursive-import _ _ #:repo->guix-package _ #:guix-name …)
   397:31  8 (topological-sort _ #<procedure 7f74ceff4ed0 at guix/i…> …)
In srfi/srfi-1.scm:
   592:29  7 (map1 _)
   592:29  6 (map1 _)
   592:29  5 (map1 _)
   592:29  4 (map1 _)
   592:29  3 (map1 ("monad-journal" "pipes" "cabal-helper"))
   592:29  2 (map1 ("pipes" "cabal-helper"))
   592:17  1 (map1 ("cabal-helper"))
In guix/import/utils.scm:
   421:36  0 (lookup-node "cabal-helper")

guix/import/utils.scm:421:36: In procedure lookup-node:
Throw to key `vm-error' with args `(vm-run "Wrong number of values
returned to continuation (expected ~a)" (2))'.

             reply	other threads:[~2020-01-05 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 15:23 Sergiu Marton [this message]
2020-01-10 17:40 ` bug#38946: guix import fails for cabal-helper Robert Vollmert
2024-05-25  6:56 ` Lars-Dominik Braun

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ=hFwS+Yz1J3JYoWV5-8d5rSBasd2yCuA2OC+pTyBg8WzMQ5A@mail.gmail.com' \
    --to=brown121407@gmail.com \
    --cc=38946@debbugs.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.