nix: make bubblewrap available in PATH
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
ced31a7257
commit
a75229991c
|
@ -3,6 +3,7 @@
|
|||
buildGoModule,
|
||||
makeBinaryWrapper,
|
||||
xdg-dbus-proxy,
|
||||
bubblewrap,
|
||||
acl,
|
||||
xorg,
|
||||
}:
|
||||
|
@ -29,6 +30,11 @@ buildGoModule rec {
|
|||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/${pname} --prefix PATH : ${lib.makeBinPath [ xdg-dbus-proxy ]}
|
||||
wrapProgram $out/bin/${pname} --prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
bubblewrap
|
||||
xdg-dbus-proxy
|
||||
]
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue