BrowserWorks / Waterfox

The official Waterfox 💧 source code repository
https://www.waterfox.net
Other
3.87k stars 343 forks source link

Nix package #297

Closed TerkiKerel closed 3 years ago

TerkiKerel commented 6 years ago

Hi,

it would be great if you can release nix package (or AppImage) package for stable versions.

Thank you

hawkeye116477 commented 6 years ago

AppImage is here -> https://bintray.com/probono/AppImages/Waterfox but only 52.0.1 version.

TerkiKerel commented 6 years ago

I should not write AppImage :( AppImage can not update itself. We need to check and download each everytime manually the updates...

Nix is perfect. There are nix packages of Firefox, tor browser and pale-moon browser. It would be great to see Waterfox too.

Thank you

criztovyl commented 6 years ago

@hawkeye116477 maintains an Apt-Repo for Waterfox: https://github.com/hawkeye116477/waterfox-deb

Serkan-devel commented 6 years ago

Ther is https://github.com/AppImage/AppImageUpdate

notpushkin commented 6 years ago

I guess making a -bin package shouldn't be too hard; and if we really want a source build, we can i. e. fork Pale Moon's expression and adapt it as needed.

TerkiKerel commented 6 years ago

I can test the package if somebody create a nix package.

notpushkin commented 6 years ago

@TerkiKerel I have made a simple Nix expr for Waterfox. You can try it:

git clone --depth=1 https://github.com/iamale/nixpkgs.git ./tmp/iamale-nixpkgs
nix-env -f ./tmp/iamale-nixpkgs -iA waterfox-bin

Please tell me if it works for you too -- I'll submit a PR to Nixpkgs then.

UPD: submitted already: https://github.com/NixOS/nixpkgs/pull/33184

TerkiKerel commented 6 years ago

@iamale You are too fast :)

I already have installed nix package on my OS. SHould I type your both commands?

notpushkin commented 6 years ago

@TerkiKerel Yeah, let's try it :) Perhaps we can move our discussion to https://github.com/NixOS/nixpkgs/pull/33184 to keep it in one place?

I see two bugs right now:

probonopd commented 5 years ago

An AppImage is available from https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/AppImage/Waterfox-latest-x86_64.AppImage.mirrorlist (reference: #127).

It looks like (I have not tested it, though) that appimage-run can run AppImages on NixOS (reference: https://github.com/AppImage/AppImageKit/issues/472).

Vanderscycle commented 1 year ago

Sorry, this is a really late reply, but I managed to get it working on my nix system with this default.nix. Please adjust the version/download url. Here's the default.nix, then all that was required was to import the nix expression. I use home-manager and had to add something like this

@notpushkin took your nixpkgs pr and tinkered with it. Without your PR I would never had this off the ground running.