Commit 9f796ed5 authored by Andrew Marshall's avatar Andrew Marshall
Browse files

libbluray: fix withJava

It builds okay without this, but doesn’t actually work. Was removed in
616f7e3b.
parent c374d94f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ stdenv.mkDerivation rec {

  propagatedBuildInputs = lib.optional withAACS libaacs;

  env.JAVA_HOME = lib.optionalString withJava jdk17.home; # Fails at runtime without this
  env.NIX_LDFLAGS = lib.optionalString withAACS "-L${libaacs}/lib -laacs"
    + lib.optionalString withBDplus " -L${libbdplus}/lib -lbdplus";