all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 43585@debbugs.gnu.org
Subject: bug#43585: Order in manifest and command-line differs
Date: Thu, 24 Sep 2020 01:38:46 +0200	[thread overview]
Message-ID: <86v9g4kqrd.fsf@gmail.com> (raw)

Dear,

It is probably more a feature than a bug (and it is expected, I guess).
However, it can be misleading.  For example,

--8<---------------cut here---------------start------------->8---
$ guix package -i busybox diffutils -p /tmp/foo
$ ls -l /tmp/foo/bin
[..]
 df -> /gnu/store/…-busybox-1.31.1/bin/df
 diff -> /gnu/store/…-diffutils-3.7/bin/diff
 diff3 -> /gnu/store/…-diffutils-3.7/bin/diff3
 dirname -> /gnu/store/…-busybox-1.31.1/bin/dirname
[..]
--8<---------------cut here---------------end--------------->8---

And the same result is obtained with the manifest.scm file:

--8<---------------cut here---------------start------------->8---
(specifications->manifest '("diffutils" "busybox"))
--8<---------------cut here---------------end--------------->8---


This difference could be counter-intuitive.  One of the two lists should
be internally reverse’d.  WDYT?


(Even if it is a corner-case, 2 packages providing the same tool, but it
matters for <profile>/manifest.)

All the best,
simon





             reply	other threads:[~2020-09-23 23:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-23 23:38 zimoun [this message]
2020-09-24 13:08 ` bug#43585: Order in manifest and command-line differs Mathieu Othacehe
2020-09-24 14:08   ` zimoun
2020-09-25 11:54     ` Mathieu Othacehe
2021-03-31 13:13       ` 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

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

  git send-email \
    --in-reply-to=86v9g4kqrd.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=43585@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.