[Nix-dev] Missing command suggestions

Marc Weber marco-oweber at gmx.de
Mon Mar 25 16:25:20 CET 2013


> And if the environment variable $NIX_AUTO_INSTALL is set, the missing command is
> installed and executed automatically:
> 
>   $ hello
>   The program ‘hello’ is currently not installed. It is provided by
>   the package ‘hello’, which I will now install for you.
>   installing `hello-2.8'

I'd prefer such message:

  Application hello is provided by package hello.
  May I install it to your user profile by running nix-env -i hello ?

  As alternative you can install packages system wide by adding them to
  /etc/nixos/configuration.nix option environment.systemPackages

  [y] to install, ctrl-c to cancel

Marc Weber


More information about the nix-dev mailing list