Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filezilla: add wrapper to set necessary FZ_DATADIR #62340

Merged
merged 1 commit into from Jun 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions pkgs/applications/networking/ftp/filezilla/default.nix
@@ -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 {
Expand All @@ -17,7 +19,11 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
dbus gnutls wxGTK30 libidn tinyxml gettext xdg_utils gtk2 sqlite
pugixml libfilezilla nettle ];
pugixml libfilezilla nettle makeWrapper ];

postInstall = ''
wrapProgram $out/bin/filezilla --set FZ_DATADIR $out
'';

meta = with stdenv.lib; {
homepage = https://filezilla-project.org/;
Expand Down