Skip to content

Commit

Permalink
scala: put docs in correct subdirectory
Browse files Browse the repository at this point in the history
Under NixOS, /run/current-system/sw/share/doc was getting the license
file, etc.

(cherry picked from commit e333a71)
  • Loading branch information
rvl authored and Mic92 committed Mar 12, 2017
1 parent 03938aa commit a99e4f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/compilers/scala/default.nix
Expand Up @@ -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 \
Expand Down

0 comments on commit a99e4f2

Please sign in to comment.