You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
600 B

# Build an env that allow to run the Foxit installer from the website. Install
# foxit to a temporary location from there and make a tarball out of the result.
# Add it with nix-prefetch-url file:///location/of/tarball and update the
# requireFile call in foxitreader.nix.
{ pkgs? import <nixpkgs> {} }:
pkgs.buildFHSUserEnv rec {
name = "foxit-env";
targetPkgs = pkgs: (with pkgs; [ glib libsecret openssl dbus freetype fontconfig stdenv.cc.cc stdenv.cc.cc.lib ] ++
(with qt5; [ qtwebkit qtbase qtxmlpatterns ]) ++
(with xlibs; [ libX11 libxcb ]));
}