3
0
Fork 0
forked from mirrors/nixpkgs

deepin.dde-control-center: always run systemctl of the currently running systemd

This commit is contained in:
Florian Klink 2020-05-21 10:34:29 +02:00
parent 45c03c0dd2
commit c7e8ceae0c

View file

@ -121,7 +121,7 @@ mkDerivation rec {
substituteInPlace dde-control-center.desktop \
--replace "dbus-send" "${dbus}/bin/dbus-send"
substituteInPlace com.deepin.controlcenter.addomain.policy \
--replace "/bin/systemctl" "${systemd}/bin/systemctl"
--replace "/bin/systemctl" "/run/current-system/sw/bin/systemctl"
'';
dontWrapQtApps = true;