kotlin: move LICENSE to separate place
Fixes #39641
commit397a618e34ea132df500b3d92f06775f3d0292b8
authorMatthew Justin Bauer <mjbauer95@gmail.com>
dateFri 4 May 2018, 15:10 (9 years ago)
parent5c63fbd
pkgs/development/compilers/kotlin/default.nix+5
@@ -22,6 +22,11 @@ in stdenv.mkDerivation rec {
2222 for p in $(ls $out/bin/) ; do
2323 wrapProgram $out/bin/$p --prefix PATH ":" ${jre}/bin ;
2424 done
25+
26+ if [ -f $out/LICENSE ]; then
27+ install -D $out/LICENSE $out/share/kotlin/LICENSE
28+ rm $out/LICENSE
29+ fi
2530 '';
2631
2732 meta = {