diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-11-16 20:49:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 20:49:34 +0000 |
commit | a368bbb57dd6e60e9cd124a3213e66f972295bf8 (patch) | |
tree | cf59965ed4a28771a66fb5d8baab3bc62572f114 /pkgs | |
parent | a131ab23e2398ed972321596466a76e6230a0f6d (diff) | |
parent | bd4c66886a9f1c054c78559404234b7f23793075 (diff) |
Merge pull request #31024 from yegortimoshenko/xfce4-panel/gettext
xfce4-panel: patch gettext in xfce4-popup-* scripts, fixes #30033
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/desktops/xfce/core/xfce4-panel.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/core/xfce4-panel.nix b/pkgs/desktops/xfce/core/xfce4-panel.nix index 9a5d390f3b8ee..e91a3ab25ee90 100644 --- a/pkgs/desktops/xfce/core/xfce4-panel.nix +++ b/pkgs/desktops/xfce/core/xfce4-panel.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui , libxfce4ui_gtk3, libwnck, exo, garcon, xfconf, libstartup_notification , makeWrapper, xfce4mixer, hicolor_icon_theme -, withGtk3 ? false, gtk3 +, withGtk3 ? false, gtk3, gettext }: let inherit (stdenv.lib) optional; @@ -20,6 +20,12 @@ stdenv.mkDerivation rec { patches = [ ./xfce4-panel-datadir.patch ]; patchFlags = "-p1"; + postPatch = '' + for f in $(find . -name \*.sh); do + substituteInPlace $f --replace gettext ${gettext}/bin/gettext + done + ''; + outputs = [ "out" "dev" "devdoc" ]; buildInputs = @@ -47,4 +53,3 @@ stdenv.mkDerivation rec { maintainers = [ maintainers.eelco ]; }; } - |