oops
This commit is contained in:
parent
5a76c0839e
commit
446cea1f1d
|
@ -30,7 +30,7 @@ with nLib; {
|
||||||
# JVM Development
|
# JVM Development
|
||||||
(mkIf devel.jvm {
|
(mkIf devel.jvm {
|
||||||
home.packages = with unstable; [
|
home.packages = with unstable; [
|
||||||
jdk
|
jdk17
|
||||||
gradle
|
gradle
|
||||||
kotlin
|
kotlin
|
||||||
kotlin-native
|
kotlin-native
|
||||||
|
|
|
@ -18,14 +18,25 @@ stdenv.mkDerivation rec {
|
||||||
./0007-Platform-Prefer-Wayland-over-X11.patch
|
./0007-Platform-Prefer-Wayland-over-X11.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs = [ libGL ];
|
||||||
[ libGL libX11 libXrandr libXinerama libXcursor libXi libXext ];
|
nativeBuildInputs = [
|
||||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
cmake
|
||||||
buildInputs = [ wayland wayland-protocols libxkbcommon ];
|
extra-cmake-modules
|
||||||
|
libX11
|
||||||
|
libXrandr
|
||||||
|
libXinerama
|
||||||
|
libXcursor
|
||||||
|
libXi
|
||||||
|
libXext
|
||||||
|
];
|
||||||
|
buildInputs = [ libGL wayland wayland-protocols libxkbcommon ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
"-DGLFW_USE_WAYLAND=ON"
|
"-DGLFW_USE_WAYLAND=ON"
|
||||||
|
"-DCMAKE_C_FLAGS=-D_GLFW_GLX_LIBRARY='\"${
|
||||||
|
lib.getLib libGL
|
||||||
|
}/lib/libGL.so.1\"'"
|
||||||
"-DCMAKE_C_FLAGS=-D_GLFW_EGL_LIBRARY='\"${
|
"-DCMAKE_C_FLAGS=-D_GLFW_EGL_LIBRARY='\"${
|
||||||
lib.getLib libGL
|
lib.getLib libGL
|
||||||
}/lib/libEGL.so.1\"'"
|
}/lib/libEGL.so.1\"'"
|
||||||
|
|
Loading…
Reference in New Issue