scala_2_12: move text files from $out to appropriate subdirs

Before, this package installed files called LICENSE and NOTICE at the
profile root directory. Which conflicts with other packages with the
same issue. Those files reside now in $out/share/doc/scala/.
This commit is contained in:
Jean-Marie Gaillourdet 2020-01-19 19:12:42 +01:00
parent 3017d813df
commit 8b7c59bab0

View file

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
# put docs in correct subdirectory
mkdir -p $out/share/doc
mv $out/doc $out/share/doc/scala
mv $out/{LICENSE,NOTICE} $out/share/doc/scala
for p in $(ls $out/bin/) ; do
wrapProgram $out/bin/$p \