forked from mirrors/nixpkgs
Merge pull request #23797 from rvl/scala-docs-subdir
scala: put docs in correct subdirectory
This commit is contained in:
commit
847a5d11cb
|
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
||||||
rm "bin/"*.bat
|
rm "bin/"*.bat
|
||||||
mv * $out
|
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
|
for p in $(ls $out/bin/) ; do
|
||||||
wrapProgram $out/bin/$p \
|
wrapProgram $out/bin/$p \
|
||||||
--prefix PATH ":" ${coreutils}/bin \
|
--prefix PATH ":" ${coreutils}/bin \
|
||||||
|
|
Loading…
Reference in a new issue