Merge pull request #135429 from VergeDX/zulu-fix

zulu: fix build on darwin
This commit is contained in:
Sandro 2021-08-23 13:38:03 +02:00 committed by GitHub
commit df69f08d9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,10 +71,10 @@ in stdenv.mkDerivation {
installPhase = ''
mkdir -p $out
cp -r ./* "$out/"
'' + lib.optionalString stdenv.isLinux ''
# jni.h expects jni_md.h to be in the header search path.
ln -s $out/include/linux/*_md.h $out/include/
'' + ''
mkdir -p $out/nix-support
printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs