cc-wrapper, bintools-wrapper: simply symlink man and info outputs
See discussion in #44516.
This commit is contained in:
@@ -6,9 +6,10 @@
|
||||
# compiler and the linker just "work".
|
||||
|
||||
{ name ? ""
|
||||
, stdenvNoCC, nativeTools, propagateDoc ? !nativeTools, noLibc ? false, nativeLibc, nativePrefix ? ""
|
||||
, bintools ? null, libc ? null
|
||||
, coreutils ? null, shell ? stdenvNoCC.shell, gnugrep ? null
|
||||
, stdenvNoCC
|
||||
, bintools ? null, libc ? null, coreutils ? null, shell ? stdenvNoCC.shell, gnugrep ? null
|
||||
, nativeTools, noLibc ? false, nativeLibc, nativePrefix ? ""
|
||||
, propagateDoc ? !nativeTools && bintools != null && bintools ? man
|
||||
, extraPackages ? [], extraBuildCommands ? ""
|
||||
, buildPackages ? {}
|
||||
, useMacosReexportHack ? false
|
||||
@@ -267,9 +268,8 @@ stdenv.mkDerivation {
|
||||
## Man page and info support
|
||||
##
|
||||
|
||||
mkdir -p $man/nix-support $info/nix-support
|
||||
printWords ${bintools.man or ""} >> $man/nix-support/propagated-build-inputs
|
||||
printWords ${bintools.info or ""} >> $info/nix-support/propagated-build-inputs
|
||||
ln -s ${bintools.man} $man
|
||||
ln -s ${bintools.info} $info
|
||||
''
|
||||
|
||||
+ ''
|
||||
|
||||
Reference in New Issue
Block a user