unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Zhu Zihao <all_but_last@163.com>
Cc: 44327@debbugs.gnu.org
Subject: bug#44327: `guix install` doesn't warn about collison in profile
Date: Fri, 30 Oct 2020 17:18:53 +0100	[thread overview]
Message-ID: <87blgjy9ea.fsf@gnu.org> (raw)
In-Reply-To: <86v9esc691.fsf@163.com> (Zhu Zihao's message of "Fri, 30 Oct 2020 19:17:46 +0800")

Hi,

Zhu Zihao <all_but_last@163.com> skribis:

> In commit ba60bbd4370570ff03a16c63af051be06f22658e. Try command
>
>   guix install emacs && guix install emacs-xwidgets
>
> These two packages are conflict with each other, but I can't see any
> warning message emitted(It should emit some because profile-derivation
> use union-build).

‘union-build’ emits a warning, but it’s only visible in build logs.

> I also suggest to raise an error when conflict detected during building
> profile to force user to resolve it.

Currently, ‘guix install’ errors out if you try to install two
same-named packages with a different version number or a different store
file name (typically via propagated inputs).

Here, ‘emacs’ and ‘emacs-xwidgets’ have different names, so it doesn’t
complain.

Perhaps we should offer a way to annotate packages as conflicting with
one another?

Thanks,
Ludo’.




  parent reply	other threads:[~2020-10-30 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-30 11:17 bug#44327: `guix install` doesn't warn about collison in profile Zhu Zihao
2020-10-30 16:15 ` zimoun
2020-10-30 16:18 ` Ludovic Courtès [this message]
2020-10-30 16:30   ` zimoun
2020-10-31 10:31     ` Ludovic Courtès
2020-11-04  1:47     ` Zhu Zihao
2020-11-04 17:15       ` 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=87blgjy9ea.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=44327@debbugs.gnu.org \
    --cc=all_but_last@163.com \
    /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).