Linux packaging using NixOS #856
lobre
started this conversation in
Feature Requests
Replies: 2 comments 2 replies
-
This could help to resolve this issue also: #706 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Really wanna try NixOS. Very likely could make update more configurable, but slightly harder because that's an electron setting and not front-end. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I don't know how many people are in the same boat as me, but I am running Linux and more precisely NixOS.
NixOS is really solid for having a declarative version of all your configurations and dependencies.
As of today, I am not sure there has been a lot of thoughts regarding packaging in Linux apart from the currently provided AppImage format. I have searched through Github issues, discussions, and the Discord history.
But I guess many Linux users prefer installing software using their preferred package manager instead of installing each application on its own. It allows precisely to upgrade the system as a whole.
However, Linux package managers usually don't really play well with "self-updaters" (as implemented for instance in Athens). I understand why it exists, especially in non-Linux environments, but I would personally prefer to have a possibility to disable it and handle the Athens upgrade lifecycle using my package manager of choice.
So this discussion would be about two points:
For this second point, I would personally be interested in the Nix package manager. Nix is performing better when the application is built from sources, but it also has a way to built taking an AppImage as an entry (which could be a nice first-step).
And now that Athens is distributed using Github releases, it simplifies also the packaging (as many package managers can take input from Github releases).
I'll be interested in knowing the opinion of other Linux users.
And I might give it a try to package in Nix starting from the AppImage. Self-update would then probably fail because the application would be installed in a read-only filesystem. But if it fails silently, that could do at the moment.
Thanks,
Loric
Beta Was this translation helpful? Give feedback.
All reactions