autorandr: run systemctl of the currently running systemd

gstqt5
Florian Klink 2020-05-21 10:35:21 +02:00
parent 5cca485396
commit 2d5de92f8e
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ in
SYSTEMD_UNIT_DIR=/lib/systemd/system \
UDEV_RULES_DIR=/etc/udev/rules.d
substituteInPlace $out/etc/udev/rules.d/40-monitor-hotplug.rules \
--replace /bin/systemctl "${systemd}/bin/systemctl"
--replace /bin/systemctl "/run/current-system/systemd/bin/systemctl"
'' else ''
make install TARGETS='pmutils' DESTDIR=$out \
PM_SLEEPHOOKS_DIR=/lib/pm-utils/sleep.d