From cf84d6c275b1cd65ba6a42dc7beaa74da7f47c3b Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Fri, 4 May 2018 15:11:09 -0500 Subject: [PATCH] openjdk: move license --- pkgs/development/compilers/openjdk/darwin/8.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/openjdk/darwin/8.nix b/pkgs/development/compilers/openjdk/darwin/8.nix index cc7c5fd371d..7457ffceab1 100644 --- a/pkgs/development/compilers/openjdk/darwin/8.nix +++ b/pkgs/development/compilers/openjdk/darwin/8.nix @@ -26,6 +26,11 @@ let # jni.h expects jni_md.h to be in the header search path. ln -s $out/include/darwin/*_md.h $out/include/ + + if [ -f $out/LICENSE ]; then + install -D $out/LICENSE $out/share/zulu/LICENSE + rm $out/LICENSE + fi ''; preFixup = ''