spacefrogg-overlay/foxit-src-extractor-env.nix

14 lines
600 B
Nix
Raw Normal View History

2020-10-18 14:27:19 +02:00
# 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 ]));
}