jdk: fix manpage symlink on darwin

This commit is contained in:
Mario Rodas 2021-08-18 19:14:04 -05:00
parent db3e6d7a2c
commit a2df7bb883

View file

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