unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* different versions of glibc-locales in the same profile
@ 2018-12-13 23:18 Ricardo Wurmus
  0 siblings, 0 replies; only message in thread
From: Ricardo Wurmus @ 2018-12-13 23:18 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

on a foreign distribution what is the recommended way to install
different versions of glibc-locales into the same profile?

Since glibc-locales install their files into a versioned directory,
having glibc-locales@2.27 in a profile containing glibc-locales@2.28
does not lead to conflicts.  However, Guix refuses to build a manifest
like this because there are two packages with the same name:

--8<---------------cut here---------------start------------->8---
(use-modules (guix inferior) (guix channels)
             (srfi srfi-1))   ;for 'first'

(define inferior-2.27
  (inferior-for-channels
    (list (channel
          (name 'guix)
         (url "https://git.savannah.gnu.org/git/guix.git")
         (commit
          "b2c8d31ff673ca1714be16968c9ead9a99ae2b7b")))))

(packages->manifest
 (list (first (lookup-inferior-packages inferior-2.27 "glibc-locales"))
       (specification->package "glibc-locales")))
--8<---------------cut here---------------end--------------->8---

Should we add package definitions for older glibc-locales and give them
new names to work around this?  Should we add a property to
glibc-locales to indicate to “guix package” that this package should be
ignored when trying to predict and prevent conflicts?

--
Ricardo

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

only message in thread, other threads:[~2018-12-13 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 23:18 different versions of glibc-locales in the same profile Ricardo Wurmus

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