[Nix-dev] Re: warning if trying to install a package but it fails an assert.
Nicolas Pierron
nicolas.b.pierron at gmail.com
Wed Dec 17 18:10:37 CET 2008
On Wed, Dec 17, 2008 at 17:59, Ludovic Courtès <ludo at gnu.org> wrote:
> "Erick Tryzelaar"
> <idadesub at users.sourceforge.net> writes:
>
>> Another option would be to just ask the user what they would like to
>> do. If you've already got one version installed, nix could ask if you
>> want to rebuild and replace it with these options, rebuild along side
>> the old one with these options, or cancel.
Asking could become an issue for a GUI if the it is made over nix-env
tool. So I would prefer a failure which suggests to add more
information on the command line but this is another problem.
> The whole idea of "replacing" is foreign to Nix. :-)
Replacing form the user view.
> IMO the Git Nix expression should really "build" what it needs (i.e.,
> SVN + Perl bindings), and we should arrange so that anyone who has a
> default installation of SVN doesn't need to build a new one (i.e., have
> "perlBindings = true" by default).
That's the idea.
--
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron
- If you are doing something twice then you should try to do it once.
More information about the nix-dev
mailing list