Skip to content

Commit

Permalink
Still build java binding in Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nktpro committed Oct 14, 2023
1 parent 51423ca commit c7367bb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nix/7.x/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
, cmake
, ninja
, unzip
, openjdk11
, mono
, rsync
, python3
Expand All @@ -16,6 +17,7 @@
, lz4
, jemalloc
, glibc
, removeReferencesTo
, version ? "7.1.41"
, sha256 ? "sha256-r6/TQiuVn/2AL70oGbhH8IwF9I6lqXkkUuFybaOpDVI="
}:
Expand Down Expand Up @@ -49,6 +51,7 @@ stdenv.mkDerivation {
cmake
ninja
unzip
openjdk11
mono
rsync
python3
Expand All @@ -60,6 +63,7 @@ stdenv.mkDerivation {
lz4.dev
jemalloc
gcc11
removeReferencesTo
];

GIT_EXECUTABLE = git;
Expand Down Expand Up @@ -88,6 +92,10 @@ stdenv.mkDerivation {
mv $out/lib $lib
mv $out/bindings $bindings
remove-references-to -t ${gcc11.cc} $lib/libfdb_java.so
remove-references-to -t ${glibc.dev} $lib/libfdb_java.so
remove-references-to -t ${openjdk11} $lib/libfdb_java.so
'';

dontPatchShebangs = true;
Expand Down

0 comments on commit c7367bb

Please sign in to comment.