From 397a618e34ea132df500b3d92f06775f3d0292b8 Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Fri, 4 May 2018 15:10:30 -0500 Subject: kotlin: move LICENSE to separate place Fixes #39641 --- pkgs/development/compilers/kotlin/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkgs/development/compilers/kotlin') diff --git a/pkgs/development/compilers/kotlin/default.nix b/pkgs/development/compilers/kotlin/default.nix index d5ce240b4a5f..762449133158 100644 --- a/pkgs/development/compilers/kotlin/default.nix +++ b/pkgs/development/compilers/kotlin/default.nix @@ -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 = { -- cgit 1.4.1