From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: 67685@debbugs.gnu.org
Cc: Gilles Marait <gilles.marait@inria.fr>
Subject: bug#67685: ‘guix shell --export-manifest’ ignores transformations for ‘-D’ packages
Date: Thu, 07 Dec 2023 11:17:06 +0100 [thread overview]
Message-ID: <874jgufhb1.fsf@inria.fr> (raw)
Hello!
‘--export-manifest’ does not apply transformations to packages preceded
by ‘-D’ (development environment):
--8<---------------cut here---------------start------------->8---
$ guix shell -D guile-git --with-branch=libgit2=main --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.
(package->development-manifest
(specification->package "guile-git"))
$ guix shell guile-git --with-branch=libgit2=main --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.
(use-modules (guix transformations))
(define transform1
(options->transformation
'((with-branch . "libgit2=main"))))
(packages->manifest
(list (transform1 (specification->package "guile-git"))))
$ guix describe
Generation 283 Dec 04 2023 00:32:23 (current)
guix 6e2dd51
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 6e2dd51df5f3f51e9056dd4f2e1b036195ab3caa
--8<---------------cut here---------------end--------------->8---
Ludo’.
next reply other threads:[~2023-12-07 10:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 10:17 Ludovic Courtès [this message]
2024-09-04 22:55 ` bug#67685: ‘guix shell --export-manifest’ ignores transformations for ‘-D’ packages Evgenii Klimov via Bug reports for GNU Guix
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=874jgufhb1.fsf@inria.fr \
--to=ludovic.courtes@inria.fr \
--cc=67685@debbugs.gnu.org \
--cc=gilles.marait@inria.fr \
/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).