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,
|
buildGoModule,
|
||||||
makeBinaryWrapper,
|
makeBinaryWrapper,
|
||||||
xdg-dbus-proxy,
|
xdg-dbus-proxy,
|
||||||
|
bubblewrap,
|
||||||
acl,
|
acl,
|
||||||
xorg,
|
xorg,
|
||||||
}:
|
}:
|
||||||
|
@ -29,6 +30,11 @@ buildGoModule rec {
|
||||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||||
|
|
||||||
postInstall = ''
|
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