openjdk: move license
commitcf84d6c275b1cd65ba6a42dc7beaa74da7f47c3b
authorMatthew Justin Bauer <mjbauer95@gmail.com>
dateFri 4 May 2018, 15:11 (9 years ago)
parent397a618
pkgs/development/compilers/openjdk/darwin/8.nix+5
@@ -26,6 +26,11 @@ let
2626
2727 # jni.h expects jni_md.h to be in the header search path.
2828 ln -s $out/include/darwin/*_md.h $out/include/
29+
30+ if [ -f $out/LICENSE ]; then
31+ install -D $out/LICENSE $out/share/zulu/LICENSE
32+ rm $out/LICENSE
33+ fi
2934 '';
3035
3136 preFixup = ''