NixOS #150 (26 Apr)

By Michel Alexandre Salim

visudo hard-coded to use /usr/bin/vi, cannot be overridden using VISUAL or EDITOR envvars

On a default NixOS installation, the only editor installed is nano -- yet visudo is hard-coded to look for vi at /usr/bin/vi. Not only is vi not installed, it won't be installed in that path.

Overriding by setting VISUAL or EDITOR to $(which nano) does not work (I verified that it works on my Fedora machine).

-- Issue on YellowGrass -- http://yellowgrass.org --

_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to