mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +03:00
commit
d7cbeabf5e
@ -26,7 +26,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ git ];
|
||||
|
||||
buildInputs = [
|
||||
buildInputs = if waylandSupport then [
|
||||
cairo
|
||||
libxkbcommon
|
||||
wayland
|
||||
] else [
|
||||
libXi
|
||||
libXinerama
|
||||
libXft
|
||||
@ -34,13 +38,9 @@ stdenv.mkDerivation rec {
|
||||
libXtst
|
||||
libX11
|
||||
libXext
|
||||
] ++ lib.optionals waylandSupport [
|
||||
cairo
|
||||
libxkbcommon
|
||||
wayland
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
makeFlags = [ "PREFIX=$(out)" ] ++ lib.optionals waylandSupport [ "PLATFORM=wayland" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
|
Loading…
Reference in New Issue
Block a user