diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-10-31 05:50:29 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-10-31 05:51:14 +0000 |
commit | bd4c66886a9f1c054c78559404234b7f23793075 (patch) | |
tree | 48b584a6b2d4749644166bcfae7fea0f27289a4e /pkgs/desktops/xfce | |
parent | e2edccae47dc4972ec16bdeb6eb5374f7631fea8 (diff) | |
download | nixlib-bd4c66886a9f1c054c78559404234b7f23793075.tar nixlib-bd4c66886a9f1c054c78559404234b7f23793075.tar.gz nixlib-bd4c66886a9f1c054c78559404234b7f23793075.tar.bz2 nixlib-bd4c66886a9f1c054c78559404234b7f23793075.tar.lz nixlib-bd4c66886a9f1c054c78559404234b7f23793075.tar.xz nixlib-bd4c66886a9f1c054c78559404234b7f23793075.tar.zst nixlib-bd4c66886a9f1c054c78559404234b7f23793075.zip |
xfce4-panel: patch gettext in xfce4-popup-* scripts, fixes #30033
Diffstat (limited to 'pkgs/desktops/xfce')
-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 9a5d390f3b8e..e91a3ab25ee9 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 ]; }; } - |