···1-{ lib, rustPlatform, yabridge }:
0000023rustPlatform.buildRustPackage rec {
4 pname = "yabridgectl";
···16 ];
1718 patchFlags = [ "-p3" ];
00000001920 meta = with lib; {
21 description = "A small, optional utility to help set up and update yabridge for several directories at once";
···1+{ lib
2+, rustPlatform
3+, yabridge
4+, makeWrapper
5+, wine
6+}:
78rustPlatform.buildRustPackage rec {
9 pname = "yabridgectl";
···21 ];
2223 patchFlags = [ "-p3" ];
24+25+ nativeBuildInputs = [ makeWrapper ];
26+27+ postFixup = ''
28+ wrapProgram "$out/bin/yabridgectl" \
29+ --prefix PATH : ${lib.makeBinPath [ wine ]}
30+ '';
3132 meta = with lib; {
33 description = "A small, optional utility to help set up and update yabridge for several directories at once";