diff options
author | Jean-Marie Gaillourdet <jm@gaillourdet.net> | 2020-01-19 19:02:55 +0100 |
---|---|---|
committer | Jean-Marie Gaillourdet <jm@gaillourdet.net> | 2020-01-19 19:32:42 +0100 |
commit | 3017d813df94ec30537eca48ef57f33dcf07b207 (patch) | |
tree | 7b2b0ae311d535f77c2f243444d38677fb7683a9 /pkgs/development/compilers/scala/2.11.nix | |
parent | 76ab11518d867597956bfe758b96b011ce63eb26 (diff) | |
download | nixpkgs-3017d813df94ec30537eca48ef57f33dcf07b207.tar nixpkgs-3017d813df94ec30537eca48ef57f33dcf07b207.tar.gz nixpkgs-3017d813df94ec30537eca48ef57f33dcf07b207.tar.bz2 nixpkgs-3017d813df94ec30537eca48ef57f33dcf07b207.tar.lz nixpkgs-3017d813df94ec30537eca48ef57f33dcf07b207.tar.xz nixpkgs-3017d813df94ec30537eca48ef57f33dcf07b207.tar.zst nixpkgs-3017d813df94ec30537eca48ef57f33dcf07b207.zip |
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/.
Diffstat (limited to 'pkgs/development/compilers/scala/2.11.nix')
-rw-r--r-- | pkgs/development/compilers/scala/2.11.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/compilers/scala/2.11.nix b/pkgs/development/compilers/scala/2.11.nix index a1f803b6719..db1a8f4edca 100644 --- a/pkgs/development/compilers/scala/2.11.nix +++ b/pkgs/development/compilers/scala/2.11.nix @@ -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 \ |