Re: [Nix-dev] Suggestion: programs are *always* in the path

2017-05-01 Thread regiv...@gmail.com

For cautious users, there might be the message:

"dc is not installed. Do you want to install it? Yes / no "

But in practice, typos are rarely problematic.

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Suggestion: programs are *always* in the path

2017-05-01 Thread regiv...@gmail.com
I think it's really a very interesting feature! A user no longer needs 
to install their programs: nix installs them in his place when he needs 
them. This option could be highlighted in the NixOS presentation.

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Suggestion: programs are *always* in the path

2017-05-01 Thread regiv...@gmail.com

Hello!

If you enter a command, you want to run it.

If the corresponding program is not installed, the command is a symbolic 
link to a script that says:


_ download the program and its dependencies,
_ install it,
_ run it.

The speed of installation and execution is optimal because the script 
already knows what to download and install.


This comes close to how web applications are downloaded and executed. To 
run a web application, you enter its URL in the address bar and the 
browser automatically takes care of downloading it, installing it in the 
cache and running it. This system should also exist for local programs.

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev