all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: 56539@debbugs.gnu.org
Subject: bug#56539: ‘guix shell -D … --export-manifest’ behaves inconsistently
Date: Wed, 13 Jul 2022 16:15:11 +0200	[thread overview]
Message-ID: <87lesx9k0g.fsf@inria.fr> (raw)

Hi!

I observe the following weird behavior, where the first invocation
wrongfully expands ‘-D gnutls’ into a list of package specs, whereas the
other invocations (only slightly different) lead to calls to
‘package->development-manifest’ as expected:

--8<---------------cut here---------------start------------->8---
$ guix shell -D gnutls autoconf@2.69 automake libtool  --export-manifest
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.

(specifications->manifest
  (list "libtool"
        "automake"
        "autoconf@2.69"
        "net-tools"
        "iproute2"
        "socat"
        "pkg-config"
        "texinfo"
        "which"
        "datefudge"
        "util-linux"
        "guile@3.0.7"
        "libtasn1"
        "libidn2"
        "nettle"
        "zlib"
        "p11-kit@0.23"
        "tar"
        "gzip"
        "bzip2"
        "xz"
        "file@5.39"
        "diffutils"
        "patch"
        "findutils"
        "gawk"
        "sed"
        "grep"
        "coreutils"
        "make"
        "bash-minimal"
        "ld-wrapper"
        "binutils"
        "gcc@10"
        "glibc"
        "glibc:static"
        "glibc-utf8-locales"
        "libgc"
        "libunistring"
        "gmp"
        "linux-libre-headers@5.10.35"))
$ guix shell -D gnutls autoconf@2.69 automake  --export-manifest
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.

(concatenate-manifests
  (list (specifications->manifest
          (list "autoconf@2.69" "automake"))
        (package->development-manifest
          (specification->package "gnutls"))))
$ guix shell -D gnutls autoconf automake libtool  --export-manifest
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.

(concatenate-manifests
  (list (specifications->manifest
          (list "autoconf" "automake" "libtool"))
        (package->development-manifest
          (specification->package "gnutls"))))
$ guix describe
Generation 221	Jul 03 2022 23:52:07	(current)
  guix e069de4
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: e069de452a2c923868f5137421b4b6349c38d754
--8<---------------cut here---------------end--------------->8---

Ludo’.




             reply	other threads:[~2022-07-13 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-13 14:15 Ludovic Courtès [this message]
2022-07-15 15:39 ` bug#56539: ‘guix shell -D … --export-manifest’ behaves inconsistently 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

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

  git send-email \
    --in-reply-to=87lesx9k0g.fsf@inria.fr \
    --to=ludovic.courtes@inria.fr \
    --cc=56539@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.