From bc2d26fd8f5f0e179cb739817b220bfa81da950e Mon Sep 17 00:00:00 2001 From: Tobias Happ Date: Sat, 1 Dec 2018 17:03:40 +0100 Subject: [PATCH] dwm-status: 1.4.0 -> 1.4.1 --- .../window-managers/dwm/dwm-status.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/window-managers/dwm/dwm-status.nix b/pkgs/applications/window-managers/dwm/dwm-status.nix index 16a67030736d..f88ef63bc2ec 100644 --- a/pkgs/applications/window-managers/dwm/dwm-status.nix +++ b/pkgs/applications/window-managers/dwm/dwm-status.nix @@ -1,15 +1,21 @@ { stdenv, lib, rustPlatform, fetchFromGitHub, dbus, gdk_pixbuf, libnotify, makeWrapper, pkgconfig, xorg -, enableAlsaUtils ? true, alsaUtils }: +, enableAlsaUtils ? true, alsaUtils, bash, coreutils }: + +let + binPath = stdenv.lib.makeBinPath [ + alsaUtils bash coreutils + ]; +in rustPlatform.buildRustPackage rec { name = "dwm-status-${version}"; - version = "1.4.0"; + version = "1.4.1"; src = fetchFromGitHub { owner = "Gerschtli"; repo = "dwm-status"; rev = version; - sha256 = "1v9ksv8hdxhpm7vs71p9s1y3gnahczza0w4wyrk2fsc6x2kwlh6x"; + sha256 = "054lwgqpx3kbrnlsqbnd8fxsawvw3nl702pf56c7dcm4sfws15nl"; }; nativeBuildInputs = [ makeWrapper pkgconfig ]; @@ -19,7 +25,7 @@ rustPlatform.buildRustPackage rec { postInstall = lib.optionalString enableAlsaUtils '' wrapProgram $out/bin/dwm-status \ - --prefix "PATH" : "${alsaUtils}/bin" + --prefix "PATH" : "${binPath}" ''; meta = with stdenv.lib; {