Skip to content

Commit

Permalink
Merge pull request NixOS#310447 from amarshall/libbluray-fix-java
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz authored Aug 25, 2024
2 parents 9a6e2bc + 9f796ed commit 121a326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/libraries/libbluray/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit 121a326

Please sign in to comment.