Fix wayland
This commit is contained in:
parent
c20d15f704
commit
7a950c7caf
2 changed files with 7 additions and 0 deletions
1
.envrc
1
.envrc
|
|
@ -1 +1,2 @@
|
||||||
use flake
|
use flake
|
||||||
|
watch_file *.nix
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,12 @@ in pkgs.mkShell rec {
|
||||||
];
|
];
|
||||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||||
|
|
||||||
|
# wayland compat
|
||||||
|
# see https://discourse.ubuntu.com/t/environment-variables-for-wayland-hackers/12750
|
||||||
|
WAYLAND_DISPLAY = "no";
|
||||||
|
DISPLAY = ":0";
|
||||||
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
|
|
||||||
# we need to make sure the library is on the path for JOGL;
|
# we need to make sure the library is on the path for JOGL;
|
||||||
# also, there's a bug that is avoided with the second config line
|
# also, there's a bug that is avoided with the second config line
|
||||||
# https://github.com/processing/processing/issues/5476
|
# https://github.com/processing/processing/issues/5476
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue