diff options
author | Florian Klink <flokli@flokli.de> | 2020-05-21 10:35:21 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-05-21 10:35:21 +0200 |
commit | 2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4 (patch) | |
tree | 2aaac857ce4d176970caef7f189ac9cfc3cf08cc /pkgs/tools | |
parent | 5cca4853967c15df7dda53b8522fe6157e369d63 (diff) | |
download | nixlib-2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4.tar nixlib-2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4.tar.gz nixlib-2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4.tar.bz2 nixlib-2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4.tar.lz nixlib-2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4.tar.xz nixlib-2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4.tar.zst nixlib-2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4.zip |
autorandr: run systemctl of the currently running systemd
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/autorandr/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/autorandr/default.nix b/pkgs/tools/misc/autorandr/default.nix index 03827d75905d..b2bbb161f289 100644 --- a/pkgs/tools/misc/autorandr/default.nix +++ b/pkgs/tools/misc/autorandr/default.nix @@ -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 |