ttalvitie / browservice

Browservice: Browse the modern web on historical browsers
MIT License
1.11k stars 32 forks source link

NixOS formula please? #87

Open pshirshov opened 1 year ago

pshirshov commented 1 year ago

That would be very nice to have.

ttalvitie commented 1 year ago

As I don't have any experience or links with NixOS, I won't provide NixOS packaging for Browservice, but I can help if some issues come up when packaging. Does the AppImage work on NixOS?

pshirshov commented 1 year ago

Does the AppImage work on NixOS?

More no than yes. NixOS is a very special OS with completely different approach to library linking. While there are ways to run appimages there, they are non-native and fragile.

Also the preferred way to distribute apps for Nix/NixOS is to build them from sources. Though a nix formula may be a good investment - nix builds are reproducible and hermetic.

ttalvitie commented 1 year ago

Right, should have known as much. I would still be interested in hearing whether the AppImage works on NixOS using any of the available shims; the Browservice AppImage attempts to be a bit more self-contained than most AppImages (because it encapsulates a graphical browser program but needs to be able to run in non-graphical installations).

If someone wants to create a proper Nix package for Browservice, one good starting point would be to see whether some other software based on CEF (Chromium Embedded Framework) are packaged for Nix, because it's probably the most complicated and time-consuming part of Browservice to build (Browservice uses a patched version of it).