gcc5: split $doc into $man and $info
... because cc-wrapper is meant to propagate man pages into user envs, and info pages are rather large. Also replace the duplicate g++ and gcc man1 pages by a symlink.
This commit is contained in:
@@ -140,7 +140,7 @@ stdenv.mkDerivation {
|
||||
# Propagate the wrapped cc so that if you install the wrapper,
|
||||
# you get tools like gcov, the manpages, etc. as well (including
|
||||
# for binutils and Glibc).
|
||||
echo ${cc} ${binutils_bin} ${libc_bin} > $out/nix-support/propagated-user-env-packages
|
||||
echo ${cc} ${cc.man or ""} ${binutils_bin} ${libc_bin} > $out/nix-support/propagated-user-env-packages
|
||||
|
||||
echo ${toString extraPackages} > $out/nix-support/propagated-native-build-inputs
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user