From de121909d21d7b39ae76a27365e1928f538b7d88 Mon Sep 17 00:00:00 2001 From: Sebastian Graf Date: Wed, 13 Nov 2019 20:36:06 +0000 Subject: libinput-gestures: Add coreutils to $PATH Otherwise it can't find `stdbuf` when run as a systemd service. --- pkgs/tools/inputmethods/libinput-gestures/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/inputmethods/libinput-gestures') diff --git a/pkgs/tools/inputmethods/libinput-gestures/default.nix b/pkgs/tools/inputmethods/libinput-gestures/default.nix index f4b2f7e94e7..2764d2fee72 100644 --- a/pkgs/tools/inputmethods/libinput-gestures/default.nix +++ b/pkgs/tools/inputmethods/libinput-gestures/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchFromGitHub, makeWrapper, libinput, wmctrl, python3, - xdotool ? null, + coreutils, xdotool ? null, extraUtilsPath ? lib.optional (xdotool != null) xdotool }: stdenv.mkDerivation rec { @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { rm "$out/bin/libinput-gestures-setup" 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 extraUtilsPath}" + wrapProgram "$out/bin/libinput-gestures" --prefix PATH : "${lib.makeBinPath ([coreutils] ++ extraUtilsPath)}" ''; meta = with stdenv.lib; { -- cgit 1.4.1