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:13:06 +0100
committerJean-Marie Gaillourdet <jm@gaillourdet.net>2020-01-19 19:33:01 +0100
commit254045fde6d08424adf52cfb39268b3b7bc3b5c2 (patch)
treea8dcb5217f57e1860cb70d86235b854d9ca15a7f /pkgs/development
parent8b7c59bab0e99f7aa00c44cd18f44badbe4f8a2e (diff)
downloadnixpkgs-254045fde6d08424adf52cfb39268b3b7bc3b5c2.tar
nixpkgs-254045fde6d08424adf52cfb39268b3b7bc3b5c2.tar.gz
nixpkgs-254045fde6d08424adf52cfb39268b3b7bc3b5c2.tar.bz2
nixpkgs-254045fde6d08424adf52cfb39268b3b7bc3b5c2.tar.lz
nixpkgs-254045fde6d08424adf52cfb39268b3b7bc3b5c2.tar.xz
nixpkgs-254045fde6d08424adf52cfb39268b3b7bc3b5c2.tar.zst
nixpkgs-254045fde6d08424adf52cfb39268b3b7bc3b5c2.zip
scala: 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.13.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/scala/2.13.nix b/pkgs/development/compilers/scala/2.13.nix
index 6bba11af9d4..b140d4e2a2d 100644
--- a/pkgs/development/compilers/scala/2.13.nix
+++ b/pkgs/development/compilers/scala/2.13.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 \