Loading pkgs/tools/wayland/swayrbar/default.nix +8 −1 Original line number Diff line number Diff line { lib, fetchFromSourcehut, rustPlatform }: { lib, fetchFromSourcehut, rustPlatform, makeWrapper, withPulseaudio ? false, pulseaudio }: rustPlatform.buildRustPackage rec { pname = "swayrbar"; Loading @@ -16,10 +16,17 @@ rustPlatform.buildRustPackage rec { # don't build swayr buildAndTestSubdir = pname; nativeBuildInputs = [ makeWrapper ]; preCheck = '' export HOME=$TMPDIR ''; postInstall = lib.optionals withPulseaudio '' wrapProgram "$out/bin/swayrbar" \ --prefix PATH : "$out/bin:${lib.makeBinPath [ pulseaudio ]}" ''; meta = with lib; { description = "Status command for sway's swaybar implementing the swaybar-protocol"; homepage = "https://git.sr.ht/~tsdh/swayr#a-idswayrbarswayrbara"; Loading Loading
pkgs/tools/wayland/swayrbar/default.nix +8 −1 Original line number Diff line number Diff line { lib, fetchFromSourcehut, rustPlatform }: { lib, fetchFromSourcehut, rustPlatform, makeWrapper, withPulseaudio ? false, pulseaudio }: rustPlatform.buildRustPackage rec { pname = "swayrbar"; Loading @@ -16,10 +16,17 @@ rustPlatform.buildRustPackage rec { # don't build swayr buildAndTestSubdir = pname; nativeBuildInputs = [ makeWrapper ]; preCheck = '' export HOME=$TMPDIR ''; postInstall = lib.optionals withPulseaudio '' wrapProgram "$out/bin/swayrbar" \ --prefix PATH : "$out/bin:${lib.makeBinPath [ pulseaudio ]}" ''; meta = with lib; { description = "Status command for sway's swaybar implementing the swaybar-protocol"; homepage = "https://git.sr.ht/~tsdh/swayr#a-idswayrbarswayrbara"; Loading