Merge pull request #46115 from oxij/stdenv/bintools-cc-symlink
cc-wrapper, bintools-wrapper: simply symlink man and info outputs
This commit is contained in:
commit
ad1abb2824
@ -269,9 +269,8 @@ stdenv.mkDerivation {
|
|||||||
## Man page and info support
|
## Man page and info support
|
||||||
##
|
##
|
||||||
|
|
||||||
mkdir -p $man/nix-support $info/nix-support
|
ln -s ${bintools.man} $man
|
||||||
echo ${bintools.man or ""} >> $man/nix-support/propagated-user-env-packages
|
ln -s ${bintools.info} $info
|
||||||
echo ${bintools.info or ""} >> $info/nix-support/propagated-user-env-packages
|
|
||||||
''
|
''
|
||||||
|
|
||||||
+ ''
|
+ ''
|
||||||
|
@ -263,9 +263,8 @@ stdenv.mkDerivation {
|
|||||||
## Man page and info support
|
## Man page and info support
|
||||||
##
|
##
|
||||||
|
|
||||||
mkdir -p $man/nix-support $info/nix-support
|
ln -s ${cc.man} $man
|
||||||
printWords ${cc.man or ""} > $man/nix-support/propagated-user-env-packages
|
ln -s ${cc.info} $info
|
||||||
printWords ${cc.info or ""} > $info/nix-support/propagated-user-env-packages
|
|
||||||
''
|
''
|
||||||
|
|
||||||
+ ''
|
+ ''
|
||||||
|
Loading…
Reference in New Issue
Block a user