@@ -1,15 +1,21 @@
11{ stdenv, lib, rustPlatform, fetchFromGitHub, dbus, gdk_pixbuf, libnotify, makeWrapper, pkgconfig, xorg
2−, enableAlsaUtils ? true, alsaUtils }:
2+, enableAlsaUtils ? true, alsaUtils, bash, coreutils }:
3+
4+let
5+ binPath = stdenv.lib.makeBinPath [
6+ alsaUtils bash coreutils
7+ ];
8+in
39
410rustPlatform.buildRustPackage rec {
511 name = "dwm-status-${version}";
6− version = "1.4.0";
12+ version = "1.4.1";
713
814 src = fetchFromGitHub {
915 owner = "Gerschtli";
1016 repo = "dwm-status";
1117 rev = version;
12− sha256 = "1v9ksv8hdxhpm7vs71p9s1y3gnahczza0w4wyrk2fsc6x2kwlh6x";
18+ sha256 = "054lwgqpx3kbrnlsqbnd8fxsawvw3nl702pf56c7dcm4sfws15nl";
1319 };
1420
1521 nativeBuildInputs = [ makeWrapper pkgconfig ];
@@ -19,7 +25,7 @@ rustPlatform.buildRustPackage rec {
1925
2026 postInstall = lib.optionalString enableAlsaUtils ''
2127 wrapProgram $out/bin/dwm-status \
22− --prefix "PATH" : "${alsaUtils}/bin"
28+ --prefix "PATH" : "${binPath}"
2329 '';
2430
2531 meta = with stdenv.lib; {