small fix for nativebuildinputs

This commit is contained in:
Tanish2002 2022-05-09 00:37:41 +05:30
parent 7c6fc3c6ad
commit dc6702ea58
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ stdenv.mkDerivation rec {
version = "git";
inherit src;
nativeBuildInputs = [ cmake ninja pkg-config wayland xwayland ];
nativeBuildInputs = [ cmake ninja pkg-config wayland ]
++ lib.optional enableXWayland xwayland;
buildInputs = [
libdrm