nixos: rework evolution-data-server module

This commit is contained in:
Symphorien Gibol
2021-01-17 11:13:54 +01:00
parent e44b3c5187
commit d671677eab
3 changed files with 34 additions and 20 deletions
@@ -1,8 +1,8 @@
{ lib, makeWrapper, symlinkJoin, evolution, evolution-ews, gnome3 }:
{ lib, makeWrapper, symlinkJoin, gnome3, plugins }:
symlinkJoin {
name = "evolution-with-plugins";
paths = [ evolution evolution-ews gnome3.evolution-data-server];
paths = [ gnome3.evolution-data-server ] ++ plugins;
buildInputs = [ makeWrapper ];
@@ -34,7 +34,7 @@ symlinkJoin {
fixSymlink $out/share/dbus-1/service
fixSymlink $out/lib/systemd/user
for i in $out/share/dbus-1/services/*.service $out/lib/systemd/user/*.service; do
echo fixing service file $i
echo fixing service file $i to point to $out
sed -i "s@/nix/store/[^/]*/@$out/@" $i
done
'';