mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge #62340: filezilla: add wrapper to set necessary FZ_DATADIR
This commit is contained in:
commit
4093d645b3
@ -1,5 +1,7 @@
|
|||||||
{ stdenv, fetchurl, dbus, gnutls, wxGTK30, libidn, tinyxml, gettext
|
{ 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
|
let version = "3.31.0"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -17,7 +19,13 @@ stdenv.mkDerivation {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dbus gnutls wxGTK30 libidn tinyxml gettext xdg_utils gtk2 sqlite
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://filezilla-project.org/;
|
homepage = https://filezilla-project.org/;
|
||||||
|
Loading…
Reference in New Issue
Block a user