openjdk11: fix the share/man symlink on darwin

This commit is contained in:
Wael M. Nasreddine 2021-08-13 11:53:09 -07:00 committed by Wael M. Nasreddine
parent cfda443b68
commit 8dcfd8f20a
No known key found for this signature in database
GPG key ID: FD437548E0BF0F5F

View file

@ -65,6 +65,12 @@ let
EOF
'';
# fixupPhase is moving the man to share/man which breaks it because it's a
# relative symlink.
postFixup = ''
ln -nsf ../zulu-11.jdk/Contents/Home/man $out/share/man
'';
passthru = {
home = jdk;
};