From efcad4c910a271e846f1d274fe297a83ba97b3cc Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sun, 25 Oct 2015 11:38:07 +0100 Subject: 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. --- pkgs/build-support/cc-wrapper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/build-support') diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 8bb215947b0..0c7bf5b667f 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -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 '' -- cgit 1.4.1