tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
geogebra: fix 3D view again
Alois Wohlschlager
2 years ago
aecaeee6
1536926e
+3
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
math
geogebra
default.nix
+3
-3
pkgs/applications/science/math/geogebra/default.nix
···
1
-
{ lib, stdenv, fetchurl, xorg, jre, makeDesktopItem, makeWrapper, unzip, language ? "en_US" }:
2
let
3
pname = "geogebra";
4
version = "5-0-785-0";
···
55
installPhase = ''
56
install -D geogebra/* -t "$out/libexec/geogebra/"
57
58
-
# The bundled jogl (required for 3D graphics) links to libXxf86vm
59
# OpenGL versions newer than 3.0 cause "javax.media.opengl.GLException: Not a GL2 implementation"
60
makeWrapper "$out/libexec/geogebra/geogebra" "$out/bin/geogebra" \
61
-
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ xorg.libXxf86vm ]}" \
62
--set MESA_GL_VERSION_OVERRIDE 3.0 \
63
--set JAVACMD "${jre}/bin/java" \
64
--set GG_PATH "$out/libexec/geogebra" \
···
1
+
{ lib, stdenv, fetchurl, libGL, xorg, jre, makeDesktopItem, makeWrapper, unzip, language ? "en_US" }:
2
let
3
pname = "geogebra";
4
version = "5-0-785-0";
···
55
installPhase = ''
56
install -D geogebra/* -t "$out/libexec/geogebra/"
57
58
+
# The bundled jogl (required for 3D graphics) links to libXxf86vm, and loads libGL at runtime
59
# OpenGL versions newer than 3.0 cause "javax.media.opengl.GLException: Not a GL2 implementation"
60
makeWrapper "$out/libexec/geogebra/geogebra" "$out/bin/geogebra" \
61
+
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL xorg.libXxf86vm ]}" \
62
--set MESA_GL_VERSION_OVERRIDE 3.0 \
63
--set JAVACMD "${jre}/bin/java" \
64
--set GG_PATH "$out/libexec/geogebra" \