kotlin: move LICENSE to separate place

Fixes #39641
This commit is contained in:
Matthew Justin Bauer 2018-05-04 15:10:30 -05:00 committed by GitHub
parent 5c63fbdafb
commit 397a618e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ in stdenv.mkDerivation rec {
for p in $(ls $out/bin/) ; do
wrapProgram $out/bin/$p --prefix PATH ":" ${jre}/bin ;
done
if [ -f $out/LICENSE ]; then
install -D $out/LICENSE $out/share/kotlin/LICENSE
rm $out/LICENSE
fi
'';
meta = {