nix: add xdg-dbus-proxy to PATH via wrapProgram
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
e5b3fa02f9
commit
cdc08817a7
11
package.nix
11
package.nix
|
@ -1,7 +1,10 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
makeBinaryWrapper,
|
||||
xdg-dbus-proxy,
|
||||
acl,
|
||||
xorg,
|
||||
buildGoModule,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
|
@ -22,4 +25,10 @@ buildGoModule rec {
|
|||
acl
|
||||
xorg.libxcb
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/${pname} --prefix PATH : ${lib.makeBinPath [ xdg-dbus-proxy ]}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue