From 254045fde6d08424adf52cfb39268b3b7bc3b5c2 Mon Sep 17 00:00:00 2001 From: Jean-Marie Gaillourdet Date: Sun, 19 Jan 2020 19:13:06 +0100 Subject: [PATCH] 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/. --- pkgs/development/compilers/scala/2.13.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/scala/2.13.nix b/pkgs/development/compilers/scala/2.13.nix index 6bba11af9d46..b140d4e2a2db 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 \