unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58419: Grafting order depends on store connection state
@ 2022-10-10 19:40 Josselin Poiret via Bug reports for GNU Guix
  2022-10-14 15:01 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2022-10-10 19:40 UTC (permalink / raw)
  To: 58419

Hi,

Someone reported yesterday on IRC [1] that they didn't get the same
canonical path for the pass (from `password-store`) binary if they built
it directly or in a profile with `fontconfig` added.  I managed to
isolate the issue down to the following:

--8<---------------cut here---------------start------------->8---
(let ((right (with-store store (run-with-store store (package->derivation
                                                      (specification->package
                                                       "password-store")))))
      (wrong (with-store store (run-with-store store (mbegin %store-monad
                                                       (package->derivation
                                                        (specification->package
                                                         "texlive-bin"))
                                                       (package->derivation
                                                        (specification->package
                                                         "password-store")))))))
  (pk right)
  (pk wrong))
--8<---------------cut here---------------end--------------->8---

Both derivations differ even though they ideally should be identical,
apparently git doesn't appear in the same place in the grafting
derivation.

I've tried to debug the grafting code but to no avail yet.  Does anyone
have any idea?

[1] https://logs.guix.gnu.org/guix/2022-10-09.log#203800

-- 
Josselin Poiret




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-17 10:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 19:40 bug#58419: Grafting order depends on store connection state Josselin Poiret via Bug reports for GNU Guix
2022-10-14 15:01 ` Ludovic Courtès
2022-10-17 10:28   ` Ludovic Courtès

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