From 09f9d35c06ea51a08dde6b8af591ea633cc35ef2 Mon Sep 17 00:00:00 2001 From: huantian Date: Fri, 2 Sep 2022 18:07:48 -0700 Subject: [PATCH] libinput-gestures: fix systemd service binary path --- pkgs/tools/inputmethods/libinput-gestures/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/inputmethods/libinput-gestures/default.nix b/pkgs/tools/inputmethods/libinput-gestures/default.nix index fe74a68630c5..d36f20511613 100644 --- a/pkgs/tools/inputmethods/libinput-gestures/default.nix +++ b/pkgs/tools/inputmethods/libinput-gestures/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { postFixup = '' rm "$out/bin/libinput-gestures-setup" + substituteInPlace "$out/share/systemd/user/libinput-gestures.service" --replace "/usr" "$out" substituteInPlace "$out/share/applications/libinput-gestures.desktop" --replace "/usr" "$out" chmod +x "$out/share/applications/libinput-gestures.desktop" wrapProgram "$out/bin/libinput-gestures" --prefix PATH : "${lib.makeBinPath ([coreutils] ++ extraUtilsPath)}"