libbluray: fix withJava

It builds okay without this, but doesn’t actually work. Was removed in
616f7e3b7e.
This commit is contained in:
Andrew Marshall 2024-05-09 18:30:06 -04:00
parent c374d94f15
commit 9f796ed55e

View File

@ -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";