diff options
author | Sebastian Graf <sgraf1337@gmail.com> | 2019-11-13 20:36:06 +0000 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-14 09:30:59 -0800 |
commit | de121909d21d7b39ae76a27365e1928f538b7d88 (patch) | |
tree | ce46b72ec0066eb169c6a8ffebcceae25468de26 | |
parent | 83b221bc6c47f601a8969c3690264ffef78b682a (diff) | |
download | nixpkgs-de121909d21d7b39ae76a27365e1928f538b7d88.tar nixpkgs-de121909d21d7b39ae76a27365e1928f538b7d88.tar.gz nixpkgs-de121909d21d7b39ae76a27365e1928f538b7d88.tar.bz2 nixpkgs-de121909d21d7b39ae76a27365e1928f538b7d88.tar.lz nixpkgs-de121909d21d7b39ae76a27365e1928f538b7d88.tar.xz nixpkgs-de121909d21d7b39ae76a27365e1928f538b7d88.tar.zst nixpkgs-de121909d21d7b39ae76a27365e1928f538b7d88.zip |
libinput-gestures: Add coreutils to $PATH
Otherwise it can't find `stdbuf` when run as a systemd service.
-rw-r--r-- | pkgs/tools/inputmethods/libinput-gestures/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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; { |