summary refs log tree commit diff
path: root/pkgs/applications/window-managers/dwm
diff options
context:
space:
mode:
authorTobias Happ <tobias.happ@gmx.de>2018-12-01 17:03:40 +0100
committerTobias Happ <tobias.happ@gmx.de>2018-12-01 17:04:33 +0100
commitbc2d26fd8f5f0e179cb739817b220bfa81da950e (patch)
tree2860e15816b3e56d4fcb048f777915f0693328f4 /pkgs/applications/window-managers/dwm
parentd9b650f4cc5ba78835285963eeef8a7c23b593f8 (diff)
downloadnixpkgs-bc2d26fd8f5f0e179cb739817b220bfa81da950e.tar
nixpkgs-bc2d26fd8f5f0e179cb739817b220bfa81da950e.tar.gz
nixpkgs-bc2d26fd8f5f0e179cb739817b220bfa81da950e.tar.bz2
nixpkgs-bc2d26fd8f5f0e179cb739817b220bfa81da950e.tar.lz
nixpkgs-bc2d26fd8f5f0e179cb739817b220bfa81da950e.tar.xz
nixpkgs-bc2d26fd8f5f0e179cb739817b220bfa81da950e.tar.zst
nixpkgs-bc2d26fd8f5f0e179cb739817b220bfa81da950e.zip
dwm-status: 1.4.0 -> 1.4.1
Diffstat (limited to 'pkgs/applications/window-managers/dwm')
-rw-r--r--pkgs/applications/window-managers/dwm/dwm-status.nix14
1 files 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 16a67030736..f88ef63bc2e 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; {