all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Multiple versions
@ 2015-12-26 23:02 Dmitry Bogatov
  2015-12-27  5:26 ` Pjotr Prins
  2015-12-27 14:11 ` Alex Kost
  0 siblings, 2 replies; 17+ messages in thread
From: Dmitry Bogatov @ 2015-12-26 23:02 UTC (permalink / raw)
  To: guix-devel

Hello!

In my attempt to understand Guix, get used to it and use
it's advantages, I got following considerations that I would like
to discuss with more experienced users:

  * Guix provides first-class support for multiple versions of packages.
    By first class I mean, that you don't need to do anything special
    to get this support, unlike Gentoo, which for example, supports
    multiple versions of Python and Ruby, but not Guile or GHC.

    But reading 'gnu/packages/haskell.scm' I see same, single-versioned
    packaging in style of Debian. Why? If we would provide package for
    every version of library 'foo' and every version of 'ghc', Guix
    would replace `haskell-stack' tool, and, eventually became The Ring
    to rule stack,virtualenv,bundler,...

    Or am I missing the point, and libraries are packaged only as long
    they are needed for some program?

  * By default, ~/.guix-profile/share/emacs/site-lisp/guix.d is not in
    load-path. `emacs-no-x` exports no variables. So, if I install
    some emacs library, like `emacs-f`, evaluating (require 'f) in emacs
    fails. It is... unexpected. Is it intended behaviour?

-- 
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Keep-In-CC: yes
X-Web-Site: sinsekvu.github.io

^ permalink raw reply	[flat|nested] 17+ messages in thread
* multiple versions
@ 2016-07-16 13:57 Vincent Legoll
  2016-07-16 20:49 ` Ludovic Courtès
  0 siblings, 1 reply; 17+ messages in thread
From: Vincent Legoll @ 2016-07-16 13:57 UTC (permalink / raw)
  To: help-guix

Hello,

I m trying to get python3 & python2 installed for the same user

guix package -i python@2 -i python@3

but that does not look like it will do what I want:

vince@guixsd ~/guix-packages$ guix package -i python@2 python@3
The following package will be downgraded:
   python    3.4.3 → 2.7.10
/gnu/store/7fm1qk703x47qzb9p6xg08cxgb009akz-python-2.7.10

The following package will be upgraded:
   python    3.4.3 → 3.4.3
/gnu/store/dsp685maxqc1i6qcib77449g2b6b7qah-python-3.4.3

I've looked at

https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-package.html#Invoking-guix-package

And that could use some more  involved examples, for such non trivial needs...

-- 
Vincent Legoll

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

end of thread, other threads:[~2016-07-16 20:49 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-26 23:02 Multiple versions Dmitry Bogatov
2015-12-27  5:26 ` Pjotr Prins
2015-12-27  9:20   ` Dmitry Bogatov
2015-12-27  9:48     ` Andreas Enge
2015-12-27 10:41       ` Dmitry Bogatov
2015-12-27 12:28         ` Ricardo Wurmus
2015-12-27 12:41     ` Pjotr Prins
2015-12-27 14:40       ` Dmitry Bogatov
2015-12-27 15:41         ` Ricardo Wurmus
2015-12-27 16:41           ` Dmitry Bogatov
2015-12-27 15:58         ` Pjotr Prins
2015-12-29 15:21     ` Ludovic Courtès
2015-12-27 14:11 ` Alex Kost
2015-12-27 16:47   ` Emacs load path (was: Re: Multiple versions) Dmitry Bogatov
2015-12-27 21:42     ` Emacs load path Alex Kost
  -- strict thread matches above, loose matches on Subject: below --
2016-07-16 13:57 multiple versions Vincent Legoll
2016-07-16 20:49 ` Ludovic Courtès

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.