forked from mirrors/nixpkgs
scala_2_11: 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:
parent
76ab11518d
commit
3017d813df
|
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
|||
rm "bin/"*.bat
|
||||
mv * $out
|
||||
|
||||
# put docs in correct subdirectory
|
||||
mkdir -p $out/share/doc
|
||||
mv $out/doc $out/share/doc/${name}
|
||||
mv $out/man $out/share/man
|
||||
|
||||
for p in $(ls $out/bin/) ; do
|
||||
wrapProgram $out/bin/$p \
|
||||
--prefix PATH ":" ${coreutils}/bin \
|
||||
|
|
Loading…
Reference in a new issue