scala: put docs in correct subdirectory

Under NixOS, /run/current-system/sw/share/doc was getting the license
file, etc.
This commit is contained in:
Rodney Lorrimar 2017-03-12 16:24:43 +00:00
parent beb2a2f63d
commit e333a71478

View file

@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
rm "bin/"*.bat
mv * $out
# put docs in correct subdirectory
mkdir -p $out/share/doc
mv $out/doc $out/share/doc/scala
for p in $(ls $out/bin/) ; do
wrapProgram $out/bin/$p \
--prefix PATH ":" ${coreutils}/bin \