mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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
|
||||
##
|
||||
|
||||
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
|
||||
''
|
||||
|
||||
+ ''
|
||||
|
@ -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
|
||||
''
|
||||
|
||||
+ ''
|
||||
|
Loading…
Reference in New Issue
Block a user