summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-04 11:08:18 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-04 11:08:18 +0200
commit0cf11036b467068875d2dce9fe10b38b006f4528 (patch)
tree61f43c6fa4d079b69bdb8258494259c0a8b522e4
parent1004d44d80ebbfb3eab4deea3cd7c50f51c681e5 (diff)
downloadnixlib-0cf11036b467068875d2dce9fe10b38b006f4528.tar
nixlib-0cf11036b467068875d2dce9fe10b38b006f4528.tar.gz
nixlib-0cf11036b467068875d2dce9fe10b38b006f4528.tar.bz2
nixlib-0cf11036b467068875d2dce9fe10b38b006f4528.tar.lz
nixlib-0cf11036b467068875d2dce9fe10b38b006f4528.tar.xz
nixlib-0cf11036b467068875d2dce9fe10b38b006f4528.tar.zst
nixlib-0cf11036b467068875d2dce9fe10b38b006f4528.zip
texlive.bin.core: fixup with multiple outputs
There was an interaction with hand-moving the docs.
-rw-r--r--pkgs/tools/typesetting/tex/texlive-new/bin.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive-new/bin.nix b/pkgs/tools/typesetting/tex/texlive-new/bin.nix
index 677e64c57dc6..7ed9b58d14d7 100644
--- a/pkgs/tools/typesetting/tex/texlive-new/bin.nix
+++ b/pkgs/tools/typesetting/tex/texlive-new/bin.nix
@@ -97,7 +97,8 @@ core = stdenv.mkDerivation rec {
     cp ../texk/texlive/linked_scripts/scripts.lst "$out/share/texmf-dist/scripts/texlive/"
   '' + /* doc location identical with individual TeX pkgs */ ''
     mkdir -p "$doc/doc"
-    mv "$out"/share/{man,info} "$doc"/doc
+    mv "$doc"/share/{man,info} "$doc"/doc
+    rmdir "$doc"/share
   '' + cleanBrokenLinks;
 
   setupHook = ./setup-hook.sh; # TODO: maybe texmf-nix -> texmf (and all references)