summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-12-02 20:05:54 -0500
committerGitHub <noreply@github.com>2018-12-02 20:05:54 -0500
commitcee7969561c2b0d30e9c8e5ed6360f022d5d057e (patch)
tree995ad4301a11b0ddf4fdff34dbccb6adc32d39b9 /pkgs
parent6de18342d9517c15811f06c2f8800458da0a5cec (diff)
parentbc2d26fd8f5f0e179cb739817b220bfa81da950e (diff)
downloadnixpkgs-cee7969561c2b0d30e9c8e5ed6360f022d5d057e.tar
nixpkgs-cee7969561c2b0d30e9c8e5ed6360f022d5d057e.tar.gz
nixpkgs-cee7969561c2b0d30e9c8e5ed6360f022d5d057e.tar.bz2
nixpkgs-cee7969561c2b0d30e9c8e5ed6360f022d5d057e.tar.lz
nixpkgs-cee7969561c2b0d30e9c8e5ed6360f022d5d057e.tar.xz
nixpkgs-cee7969561c2b0d30e9c8e5ed6360f022d5d057e.tar.zst
nixpkgs-cee7969561c2b0d30e9c8e5ed6360f022d5d057e.zip
Merge pull request #51318 from Gerschtli/update/dwm-status
dwm-status: 1.4.0 -> 1.4.1
Diffstat (limited to 'pkgs')
-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; {