summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorJean-Marie Gaillourdet <jm@gaillourdet.net>2020-01-19 19:12:42 +0100
committerJean-Marie Gaillourdet <jm@gaillourdet.net>2020-01-19 19:33:01 +0100
commit8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e (patch)
treecf791f0f0ed4a1b65243060c175bd4b8a0e7d90a /pkgs/development
parent3017d813df94ec30537eca48ef57f33dcf07b207 (diff)
downloadnixpkgs-8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e.tar
nixpkgs-8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e.tar.gz
nixpkgs-8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e.tar.bz2
nixpkgs-8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e.tar.lz
nixpkgs-8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e.tar.xz
nixpkgs-8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e.tar.zst
nixpkgs-8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e.zip
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/.
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/compilers/scala/2.12.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/scala/2.12.nix b/pkgs/development/compilers/scala/2.12.nix
index 9e11daced4a..3f61669b938 100644
--- a/pkgs/development/compilers/scala/2.12.nix
+++ b/pkgs/development/compilers/scala/2.12.nix
@@ -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 \