mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #322553 from bbigras/centerpiece
centerpiece: fix for x11
This commit is contained in:
commit
73f6fe486e
@ -8,6 +8,7 @@
|
||||
, rustPlatform
|
||||
, libxkbcommon
|
||||
, wayland
|
||||
, enableX11 ? true, xorg
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -30,7 +31,12 @@ rustPlatform.buildRustPackage rec {
|
||||
libxkbcommon
|
||||
vulkan-loader
|
||||
wayland
|
||||
];
|
||||
] ++ lib.optionals enableX11 (with xorg; [
|
||||
libX11
|
||||
libXcursor
|
||||
libXi
|
||||
libXrandr
|
||||
]);
|
||||
|
||||
postFixup = lib.optional stdenv.isLinux ''
|
||||
rpath=$(patchelf --print-rpath $out/bin/centerpiece)
|
||||
|
Loading…
Reference in New Issue
Block a user