-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please include vi
in minimal install image.
#20013
Comments
Yes! I can't push this enough! Every major distro has at least |
I don't see why we would want to have The minimal iso does require network access anyways, so why not just |
@sternenseemann Don't have to use nano to edit a network configuration file (if needed) to get network access first. |
@sternenseemann: what's on ISO doesn't determine the default nixos |
I am really for a I suggest something like busybox' vi. |
@vcunat oh, right. My bad. |
I don't see why any editor should be part of the system. The ISO however should contain a range of minimal editors (neither vim nor emacs) to make it easier for people to install/configure/rescue their system. |
@benaryorg Yeah, of course, I just thought, that the minimal iso contains |
The standard for *nix has been vi for ages, it's a bit puzzling: I'm trying NixOS live, I need to edit the configuration to setup networking and there's no vi. To get vi, I need networking. I guess there are more vi users than nano out there, might make sense to include it. |
I also think it's important to include either I thought it would be best to include some links/references to show why this would be a good idea. https://en.wikipedia.org/wiki/List_of_text_editors#System_default:
https://en.wikipedia.org/wiki/Vi:
Some rankings I've found (in the order they appeared on my search engine - I only removed the ones preferring GUI editors or lacking http://www.tecmint.com/best-open-source-linux-text-editors/:
http://www.hostingadvice.com/blog/5-popular-text-editors-linux/:
http://www.thegeekstuff.com/2009/07/top-5-best-linux-text-editors:
http://www.yolinux.com/TUTORIALS/LinuxTextEditors.html:
A comparison of the binary sizes according to the Arch DB (absolute and relative compared to nano):
I think this comparison shows pretty well why |
I today downloaded the minimal iso image and it contained vim actually. Was it recently added?
I get a variant of vim which is only about 630Kb big (without squashfs compression), which is less then loading this issue page on github. |
@Mic92 You're right, seems like it has already been added on the 28.12.2016 by the following commit: e0078b2 (0ae95d8 and cherry-picked to nixpkgs-channels). Edit: And the |
Moved it to the |
This moves vim to the install-device profile to add vim to netboot, too. Fixes NixOS#20013 (see discussion there for further information)
Issue description
There is no
vi-like
editor in minimal installation media. I know there isnano
but it is hard to use once you vim-infected. Please, at least, addvi
if you think terminalvim
is too big to be included in the installation media.nixos-minimal-16.09.877.5b08a40-x86_64-linux.iso
Steps to reproduce
Technical details
nixos-version
, Ubuntu/Fedora:lsb_release -a
, ...)16.09.877.5b08a40
nix-env --version
)nix-env (Nix) 1.11.4
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)The text was updated successfully, but these errors were encountered: