summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWael M. Nasreddine <wael@keeptruckin.com>2021-08-13 11:53:09 -0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-08-13 20:21:03 +0000
commit0088f5fa6d823db4815981f9b904584d87ad2171 (patch)
tree85be9f6b75e582201f8a0148ff646f78f539f0d0
parentMerge pull request #133654 from Artturin/backport-130515 (diff)
downloadnixpkgs-origin/backport-133806-to-release-21.05.tar.gz
openjdk11: fix the share/man symlink on darwinorigin/backport-133806-to-release-21.05
(cherry picked from commit 8dcfd8f20a77b5a9369de6ed690ebdd44175fc89)
-rw-r--r--pkgs/development/compilers/openjdk/darwin/11.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/compilers/openjdk/darwin/11.nix b/pkgs/development/compilers/openjdk/darwin/11.nix
index 6bcd79b274be..f08ea73f5630 100644
--- a/pkgs/development/compilers/openjdk/darwin/11.nix
+++ b/pkgs/development/compilers/openjdk/darwin/11.nix
@@ -49,6 +49,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;
};