unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Ulf Herrman <striness@tilde.club>, 67221@debbugs.gnu.org
Subject: bug#67221: Package identity transformation produces different derivation
Date: Fri, 12 Jan 2024 11:50:23 +0100	[thread overview]
Message-ID: <87wmsex1u8.fsf@gmail.com> (raw)
In-Reply-To: <87leaye4h5.fsf@tilde.club>

Hi,

On Wed, 15 Nov 2023 at 21:56, Ulf Herrman <striness@tilde.club> wrote:
> $ guix build --no-grafts --derivations -e \
>      '(begin
>        (use-modules (guix packages) (gnu packages gtk))
>        ((package-mapping identity) cairo-sans-poppler))' \
>        -e '(@ (gnu packages gtk) cairo-sans-poppler)'
> =>
> /gnu/store/51hwf2mc2ig76a3nm86msv4z9az3s0j3-cairo-1.16.0.drv
> /gnu/store/q78ziqcg2dvi2lzj18hzdld85bcydzwk-cairo-1.16.0.drv

The only difference is from the builder: %build-inputs contains

   ("util-linux" . "/gnu/store/gwx2sf5wl9bsl21lwv35g5la63bwyy95-util-linux-2.37.4-lib")

for the non-transformed ’(@ (gnu packages gtk) cairo-sans-poppler)’
package, only.

Hum, is ’package-mapping’ removing it?


> 1. (package-mapping identity #:deep? #t) *does* produce the same
>    derivation.

Well, it means that #:deep? #t adds “util-linux” in the builder.


Cheers,
simon




      reply	other threads:[~2024-01-12 12:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-16  3:56 bug#67221: Package identity transformation produces different derivation Ulf Herrman
2024-01-12 10:50 ` Simon Tournier [this message]

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=87wmsex1u8.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=67221@debbugs.gnu.org \
    --cc=striness@tilde.club \
    /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).