diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2021-02-28 15:14:41 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2021-03-31 19:10:51 -0300 |
commit | 933a3eb0a194d71e7d8ff1542e1dd661dee13211 (patch) | |
tree | 004be961812ec6b370433d58b718d2d49ca2a27e /pkgs/desktops/xfce | |
parent | 67ea4a4d5418c268e41b168777f001a1e0e48dab (diff) | |
download | nixpkgs-933a3eb0a194d71e7d8ff1542e1dd661dee13211.tar nixpkgs-933a3eb0a194d71e7d8ff1542e1dd661dee13211.tar.gz nixpkgs-933a3eb0a194d71e7d8ff1542e1dd661dee13211.tar.bz2 nixpkgs-933a3eb0a194d71e7d8ff1542e1dd661dee13211.tar.lz nixpkgs-933a3eb0a194d71e7d8ff1542e1dd661dee13211.tar.xz nixpkgs-933a3eb0a194d71e7d8ff1542e1dd661dee13211.tar.zst nixpkgs-933a3eb0a194d71e7d8ff1542e1dd661dee13211.zip |
xfce.xfce4-namebar-plugin: fix for the data dir fix
Diffstat (limited to 'pkgs/desktops/xfce')
-rw-r--r-- | pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix index 407f349d9bf..ec57a7260f6 100644 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix @@ -16,9 +16,8 @@ stdenv.mkDerivation rec { buildInputs = [ gtk3 libwnck3 libxfce4util xfce4-panel ]; postPatch = '' - for f in src/preferences.vala src/namebar.vala; do - substituteInPlace $f --replace 'var dirs = Environment.get_system_data_dirs()' "string[] dirs = { \"$out/share\" }" - done + substituteInPlace src/namebar.vala --replace 'var dirs = Environment.get_system_data_dirs()' "string[] dirs = { \"$out/share\" }" + substituteInPlace src/preferences.vala --replace 'var dir_strings = Environment.get_system_data_dirs()' "string[] dir_strings = { \"$out/share\" }" ''; passthru.updateScript = xfce.updateScript { |