From b5e558b573f1989889e423df8b48e1084608022f Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Fri, 4 May 2018 15:11:45 -0500 Subject: [PATCH] openjdk: move license (again) --- pkgs/development/compilers/openjdk/darwin/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/openjdk/darwin/default.nix b/pkgs/development/compilers/openjdk/darwin/default.nix index 6ecc785be3b9..54239e58002f 100644 --- a/pkgs/development/compilers/openjdk/darwin/default.nix +++ b/pkgs/development/compilers/openjdk/darwin/default.nix @@ -16,6 +16,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 = ''