unofficial mirror of 
 help / color / mirror / code / Atom feed
* bug#67221: Package identity transformation produces different derivation
@ 2023-11-16  3:56 Ulf Herrman
  0 siblings, 0 replies; only message in thread
From: Ulf Herrman @ 2023-11-16  3:56 UTC (permalink / raw)
  To: 67221

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

$ guix build --no-grafts --derivations -e \
       (use-modules (guix packages) (gnu packages gtk))
       ((package-mapping identity) cairo-sans-poppler))' \
       -e '(@ (gnu packages gtk) cairo-sans-poppler)'

Some interesting notes:

1. (package-mapping identity #:deep? #t) *does* produce the same
2. bag->derivation's `delete-duplicates' call uses `input=?', but its
   input objects in the second tuple position are all <gexp-input>s
   produced by `expand-input'.  Consequently, `input=?' will fall back
   to using `equal?' instead of `derivation=?'.  I don't know to what
   extent this has to do with the observed bug.

- ulfvonbelow

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 686 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-16  4:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-16  3:56 bug#67221: Package identity transformation produces different derivation Ulf Herrman

Code repositories for project(s) associated with this public inbox

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).