[Nix-dev] package-darcs package-svn package-v.v.v ?
Andres Loeh
andres at cs.uu.nl
Wed Aug 15 09:53:32 CEST 2007
> Date: Wed, 15 Aug 2007 03:30:41 +0400
> From: Yurii Kudryashov <urkud.urkud at gmail.com>
> Subject: Re: [Nix-dev] package-darcs package-svn package-v.v.v ?
>
> 2007/8/15, Marc Weber <marco-oweber at gmx.de>:
> > Should
> > package-darcs behave the way
> > package-1.0 behaves?
> > if there is no alternative?
> >
> > I would say nix-env -i package should be able to install package-darcs if
> > there is none with given version availible. What do you think?
> >
> > Or would you prefer a different way marking a repository version ?
> Gentoo uses something link package-1.9999. I think, it's good. Or, if
> you don't want nix-env -u to upgrade from 1.0 to darcs, you may use
> something like package-0.0000.
While Gentoo indeed uses such a scheme, I wouldn't say it's good. It's much
better to have a way to specify an arbitrary (partial) order between
package versions that could even differ per user. I'm not sure how nix
currently works, though ...
Cheers,
Andres
--
Andres Loeh, Universiteit Utrecht
mailto:andres at cs.uu.nl mailto:mail at andres-loeh.de
http://www.andres-loeh.de
More information about the nix-dev
mailing list