Merge #62340: filezilla: add wrapper to set necessary FZ_DATADIR

This commit is contained in:
Vladimír Čunát 2019-06-09 12:30:44 +02:00
commit 4093d645b3
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,5 +1,7 @@
{ stdenv, fetchurl, dbus, gnutls, wxGTK30, libidn, tinyxml, gettext
, pkgconfig, xdg_utils, gtk2, sqlite, pugixml, libfilezilla, nettle }:
, pkgconfig, xdg_utils, gtk2, sqlite, pugixml, libfilezilla, nettle
, makeWrapper
}:
let version = "3.31.0"; in
stdenv.mkDerivation {
@ -17,7 +19,13 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
dbus gnutls wxGTK30 libidn tinyxml gettext xdg_utils gtk2 sqlite
pugixml libfilezilla nettle ];
pugixml libfilezilla nettle makeWrapper ];
enableParallelBuilding = true;
postInstall = ''
wrapProgram $out/bin/filezilla --set FZ_DATADIR $out
'';
meta = with stdenv.lib; {
homepage = https://filezilla-project.org/;