all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* duplicate package names in channels
@ 2022-09-30 19:48 Fulbert
  2022-09-30 20:01 ` Julien Lepiller
  0 siblings, 1 reply; 3+ messages in thread
From: Fulbert @ 2022-09-30 19:48 UTC (permalink / raw)
  To: help-guix

Hello !

I'm not sure if guix supports similar package names [and version number]
provided in more than one “active” channels (declared in the list of
'~/.config/guix/channels.scm, including %default-channels)…
a) if 2 packages share their name, version and package definition,
yielding the exact same result, thus sharing the same hash and
/gnu/store/ storage-space (one “recognizing” the other hash, avoiding
redondant build or conflict ?) ;
b) if 2 packages share their name but not the version, thus yielding
distinct hashes, could guix automatically choose the highest available
version, similar to what guix does when it provides multiple versions of
the same name package in the main 'guix channel ? ;
c) if 2 packages share their name and version but do not yield the same
result/hash (… that's the only case where I'm abble to see a conflict).

As far as i understand, (c) would be problematic, thus (a) would require
a pre-build of both and conflict management, which is unlikely(?) and
consequently, (b) would require a user to remove manually a package in
the additionnal channel before it leads to (a).

So, my guess work gives NO, NO and NO, but I would be gratefull if
someone could confirm, eventually with a pointer to the manual or other
doc. (I am unable to check that for myself in the sources with any
degree of comprehension, let alone certainty ^^)

Thanks for guix and best regards,
Fulbert


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

end of thread, other threads:[~2022-09-30 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30 19:48 duplicate package names in channels Fulbert
2022-09-30 20:01 ` Julien Lepiller
2022-09-30 20:10   ` Fulbert

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.