3
0
Fork 0
forked from mirrors/nixpkgs

dbus service: remove {system,session}.conf from config dir

They are already included by dbus from /run/current-system/sw/share/dbus-1.
This commit is contained in:
Nikolay Amiantov 2017-02-01 15:37:20 +03:00
parent 39344a36d3
commit 72b3746266

View file

@ -27,14 +27,6 @@ let
''
mkdir -p $out
cp ${pkgs.dbus.out}/share/dbus-1/{system,session}.conf $out
# avoid circular includes
sed -ri 's@(<include ignore_missing="yes">/etc/dbus-1/(system|session)\.conf</include>)@<!-- \1 -->@g' $out/{system,session}.conf
# include by full path
sed -ri "s@/etc/dbus-1/(system|session)-@$out/\1-@" $out/{system,session}.conf
sed '${./dbus-system-local.conf.in}' \
-e 's,@servicehelper@,${config.security.wrapperDir}/dbus-daemon-launch-helper,g' \
-e 's,@extra@,${systemExtraxml},' \