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:
Michael Raskin 2018-11-22 08:58:28 +00:00 committed by GitHub
commit ad1abb2824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -269,9 +269,8 @@ stdenv.mkDerivation {
## Man page and info support
##
mkdir -p $man/nix-support $info/nix-support
echo ${bintools.man or ""} >> $man/nix-support/propagated-user-env-packages
echo ${bintools.info or ""} >> $info/nix-support/propagated-user-env-packages
ln -s ${bintools.man} $man
ln -s ${bintools.info} $info
''
+ ''

View File

@ -263,9 +263,8 @@ stdenv.mkDerivation {
## Man page and info support
##
mkdir -p $man/nix-support $info/nix-support
printWords ${cc.man or ""} > $man/nix-support/propagated-user-env-packages
printWords ${cc.info or ""} > $info/nix-support/propagated-user-env-packages
ln -s ${cc.man} $man
ln -s ${cc.info} $info
''
+ ''