Skip to content

Instantly share code, notes, and snippets.

@dbalan
Created December 11, 2019 14:05
Show Gist options
  • Save dbalan/41d3f90e8054435232ef8fc08d9a84e1 to your computer and use it in GitHub Desktop.
Save dbalan/41d3f90e8054435232ef8fc08d9a84e1 to your computer and use it in GitHub Desktop.
Run cliqz browser in nixos
# 1. curl -LO https://cdn.cliqz.com/browser-f/download/linux/cliqz.en-US.release.x86_64.tar.bz2
# 2. tar xf cliqz.en-US.release.x86_64.tar.bz2
# 3. add this file to cliqz/fhsUser.nix
# 4. cd cliqz/ && nix-shell fhsUser.nix
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "example-env";
targetPkgs = pkgs: with pkgs; [
coreutils
];
multiPkgs = pkgs: with pkgs; [
zlib
xorg.libXxf86vm
curl
openal
openssl_1_0_2
xorg.libXext
xorg.libXt
xorg.libX11
xorg.libXrandr
mesa_glu
gtk3
dbus-glib
pango
atk
cairo
gdk_pixbuf
glib_networking
glibc
gnome2.glib
];
runScript = "./cliqz";
}).env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment