[Nix-dev] Adding xfce4 panel plugins

Eduard Carreras i Nadal ecarreras at gmail.com
Fri Oct 12 00:42:55 CEST 2012


On Thu, Oct 11, 2012 at 11:53 PM, Eduard Carreras i Nadal <
ecarreras at gmail.com> wrote:

> [...]
>
>>  Then I tried to install this package with nix-env -i
>>>> /nix/store/**gas9rjahhdxkksv7k3fbq4kwgp17xr**
>>>> vf-xfce4-cpufreq-plugin-1.0.0
>>>> but when I try to add the plugin there is not cpufreq plugin in the list
>>>> of xfce4 panel plugins.
>>>>
>>>
> Starting xfce4-panel with debugging:
> $ xfce4-panel -q
> $ PANEL_DEBUG=1 xfce4-panel
>
> Then when I'm going to add a plugin shows:
> xfce4-panel(module-factory): reading
> /nix/store/8mik6lfry6sdjkvq25rqnbia00qjjx4p-xfce4-panel-4.8.6/share/xfce4/panel/plugins
>

More info: I've modified the xfce4-panel nix expression adding

  postInstall = ''
  mkdir -p $out/share/xfce4/panel-plugins
  '';

Then the log shows

xfce4-panel(module-factory): reading
/nix/store/kkadh1cq40y0rcn5l2i6pnxf3jcjv4zi-xfce4-panel-4.8.6/share/xfce4/panel/plugins
xfce4-panel(module-factory): reading
/nix/store/kkadh1cq40y0rcn5l2i6pnxf3jcjv4zi-xfce4-panel-4.8.6/share/xfce4/panel-plugins


But other line says
xfce4-panel(applicationsmenu): loading from
/run/current-system/sw/etc/xdg/menus/xfce-applications.menu which seems to
use /run/curreny-system/...

How can I do that xfce4-panel uses /run/current-system/sw/ as a prefix
instead of its own prefix?

Cheers,

-- 
Eduard Carreras i Nadal <ecarreras at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20121012/6499e29a/attachment.html 


More information about the nix-dev mailing list