3
0
Fork 0
forked from mirrors/nixpkgs

jogl: remove #37364 workaround

This commit is contained in:
volth 2019-09-15 19:00:15 +00:00 committed by GitHub
parent 3ddbe41f79
commit 7b7848ecb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,5 @@
{ stdenv, fetchgit, ant, jdk, openjdk8, zulu8, git, xorg, udev, libGL, libGLU }:
{ stdenv, fetchgit, ant, jdk, git, xorg, udev, libGL, libGLU }:
let
# workaround https://github.com/NixOS/nixpkgs/issues/37364
jdk-without-symlinks = if jdk == openjdk8 then zulu8 else jdk;
in
{
jogl_2_3_2 =
let
@ -32,7 +28,8 @@ in
-exec sed -i 's@"libGLU.so"@"${libGLU}/lib/libGLU.so"@' {} \;
'';
buildInputs = [ jdk-without-symlinks ant git udev xorg.libX11 xorg.libXrandr xorg.libXcursor xorg.libXt xorg.libXxf86vm xorg.libXrender ];
nativeBuildInputs = [ jdk ant git ];
buildInputs = [ udev xorg.libX11 xorg.libXrandr xorg.libXcursor xorg.libXt xorg.libXxf86vm xorg.libXrender ];
buildPhase = ''
cp -r ${gluegen-src} $NIX_BUILD_TOP/gluegen