Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

(cherry picked from commit 4093d645b3272ade223db55b9317e2fa5ca5dbb7)

+10 -2
+10 -2
pkgs/applications/networking/ftp/filezilla/default.nix
··· 1 1 { stdenv, fetchurl, dbus, gnutls, wxGTK30, libidn, tinyxml, gettext 2 - , pkgconfig, xdg_utils, gtk2, sqlite, pugixml, libfilezilla, nettle }: 2 + , pkgconfig, xdg_utils, gtk2, sqlite, pugixml, libfilezilla, nettle 3 + , makeWrapper 4 + }: 3 5 4 6 let version = "3.31.0"; in 5 7 stdenv.mkDerivation { ··· 17 19 nativeBuildInputs = [ pkgconfig ]; 18 20 buildInputs = [ 19 21 dbus gnutls wxGTK30 libidn tinyxml gettext xdg_utils gtk2 sqlite 20 - pugixml libfilezilla nettle ]; 22 + pugixml libfilezilla nettle makeWrapper ]; 23 + 24 + enableParallelBuilding = true; 25 + 26 + postInstall = '' 27 + wrapProgram $out/bin/filezilla --set FZ_DATADIR $out 28 + ''; 21 29 22 30 meta = with stdenv.lib; { 23 31 homepage = https://filezilla-project.org/;