unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: 31319@debbugs.gnu.org
Subject: bug#31319: ghc-case-insensitive: Duplicate 'inputs' field.
Date: Thu, 10 May 2018 00:34:28 +0200	[thread overview]
Message-ID: <878t8swj9n.fsf@gnu.org> (raw)
In-Reply-To: <87a7tka8ko.fsf@netris.org> (Mark H. Weaver's message of "Mon, 30 Apr 2018 13:49:11 -0400")

Hi Mark,

Mark H Weaver <mhw@netris.org> skribis:

> Our 'ghc-case-insensitive' package contains two 'inputs' field
> initializers.  If I'm not mistaken, the first one is being effectively
> ignored, so 'ghc-hunit' is not actually an input.
>
> It would be good to clean this up so that we can start raising errors
> when duplicate field initializers are present.

What about applying your patch that detects duplicate fields, rebuilding
all the .go files, and then resolving any such case by keeping only the
last occurrence of the field?

This is what happens currently anyway so it won’t change the derivations
produced for the faulty packages.

Ludo’.

  reply	other threads:[~2018-05-09 22:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-30 17:49 bug#31319: ghc-case-insensitive: Duplicate 'inputs' field Mark H Weaver
2018-05-09 22:34 ` Ludovic Courtès [this message]
2018-05-10 17:59   ` Mark H Weaver
2018-05-10 20:30     ` Ludovic Courtès
2018-07-02 13:05     ` Ludovic Courtès
2018-07-19 10:02       ` Ludovic Courtès
2018-07-20 21:23         ` Mark H Weaver
2019-01-22 22:06 ` Ludovic Courtès

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=878t8swj9n.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=31319@debbugs.gnu.org \
    --cc=mhw@netris.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).