diff options
Diffstat (limited to 'pkgs/build-support/cc-wrapper/default.nix')
-rw-r--r-- | pkgs/build-support/cc-wrapper/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 8928d1643c83..b9828c941ed2 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -6,10 +6,8 @@ # compiler and the linker just "work". { name ? "" -, stdenvNoCC +, stdenvNoCC, nativeTools, propagateDoc ? !nativeTools, noLibc ? false, nativeLibc, nativePrefix ? "" , cc ? null, libc ? null, bintools, coreutils ? null, shell ? stdenvNoCC.shell -, nativeTools, noLibc ? false, nativeLibc, nativePrefix ? "" -, propagateDoc ? !nativeTools && cc != null && cc ? man , extraPackages ? [], extraBuildCommands ? "" , isGNU ? false, isClang ? cc.isClang or false, gnugrep ? null , buildPackages ? {} @@ -263,8 +261,9 @@ stdenv.mkDerivation { ## Man page and info support ## - ln -s ${cc.man} $man - ln -s ${cc.info} $info + mkdir -p $man/nix-support $info/nix-support + printWords ${cc.man or ""} >> $man/nix-support/propagated-build-inputs + printWords ${cc.info or ""} >> $info/nix-support/propagated-build-inputs '' + '' |