Hello everyone.
---
tlrd:Linux installation is in bad shape.
I expanded script and solver bugs to make better installation.
https://github.com/NixOS/nix/pull/1565It got big, because small PR stuck. Seems like team doesn't have active human that responcible for Linux shell installation part.
I am happy to work with, be reviewed, or maintain Linux shell installation part.
Thant you.
Even recorded video demonstration:Video where I show the current UX of installation and points I am solving:
https://www.youtube.com/watch?v=NuyevCXBqyYI show exerience if Linux user or speciallists installs Nix. And Nix installer needs workarounds and 5 installation restarts.
Video demonstration of improved version:
https://www.youtube.com/watch?v=yD3pgkMvuGwWhere I show much smoother experience for new user/DevOps of installing Nix on Linux.
Solved major installation bugs of script, and script is much more user friendly and automatic.
Basicly just pouring work on script install.
Script is POSIX standart compatible, uses plain sh and The Syslog Protocol loglevels message classification [RFC 5424](
https://tools.ietf.org/html/rfc5424#section-6.2.1)
Script was tested in different setups, on different distributions.
If there is suggestions, especially regarding other recommendations and standarts, I am happy to have responce.
---
I devoted a couple of days to work on improving Linux setup of Nix.
I solved most preassumptions of Nix installation procedure, and streamlined it in my local version.
I submitted first simple pull requests. But they not get merged.
While install Nix on clean Ubuntu, Arch Linux and Alpine Linux (this is just what I've tried) not working, not without manual troubleshooting.
Obviously on other distributions the same.
Cureent master script assumes:
* you are not root
* you are runing it basically on a Linux desktop disrtibution
* you not running it in Docker
* user has sudo installed
* user has sudo access
* system have `nixbld` group already somehow
* and `workers` (nixbldN) already exist (even while Linux install does single-user setup)
* parts of script assumes you are usin Bash.
Doesn't that reminds you something. Maybe some particular setup?
I also had problem building it from source on Arch Linux. Some dependency mentions missing.
I am also current maintainer of Nix package on Arch Linux. That is why I come to you.
My initial three pull requests with Linux install shell code, got reviewed by three different people. And not merged. That is really bare-bone inprovements.
I see situation as: there is no active maintainer of Linux insallation, so everyone comments and waits on someone other to merge commits. And seems there is no active human that has and ready to take responcibility to currate and accept Linux install code.
I test before submitting.
Stable Nix was released recently.
That means this is a perfect window to make changes to master install progress and get additional development responces.
About me
I am Linux maniac for 10 years. And a DevOps. I live 24/7 seven with my Linux systems.
About shell. I've done shell projects for production and financial data before (that was one project, with those crazy requirements, to program all through shell. I even done GUI through shell tools).
And shell is most usable language for me today.
Goals:I aim to make install automatic, clean, beautiful, verbose, corresponding to industry standarts and level, and portable (POSIX compatible, and working on most Linux evironments).
I am happy to cooperate in code with other contributors.
I have time to take on myselt the Linux install code part and be responcible to maintain it.
Hope someone helps me to push progress in master and we get process moving/evolving further.
Thank you.
Anton Latukha