xwayland-satellite: correctly pass xwayland dependency in PATH
This commit is contained in:
parent
5fcc5458a3
commit
b5228d2b3a
@ -6,6 +6,7 @@
|
||||
, xcb-util-cursor
|
||||
, libxcb
|
||||
, nix-update-script
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -24,10 +25,10 @@ rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xwayland
|
||||
libxcb
|
||||
xcb-util-cursor
|
||||
];
|
||||
@ -43,6 +44,11 @@ rustPlatform.buildRustPackage rec {
|
||||
"--skip=toplevel_flow"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/xwayland-satellite \
|
||||
--prefix PATH : "${lib.makeBinPath [xwayland]}"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user