nixpkgs/pkgs/build-support
Jan Malakhovski d32f51c618 cc-wrapper, bintools-wrapper: simply symlink man and info outputs
With the previous commit `propagateDoc` is now always given the correct value
(i.e. it is never set to `true` when there are no `man` and `info` outputs).
Hence, we can simply symlink the original outputs to the wrapper outputs.

Pros:

- simpler, less indirection compared to `propagated-user-env-packages`,
- uses less inodes (1 symlink, which nix then simply automatically resolves
  and removes, vs. two directories and a file),
- makes direct references like "export MANPATH=${stdenv.cc.man}/share/man"
  simply work.

Cons:

- I'm not aware of any.

This and the previous commit together almost completely revert commits
fde7296a4749efadbeb8b608b7b4cc01c3a6e6d7,
fa412972091538376d1d4ffd446803b5d9385cbb, and
c981787db951afb11c1328461df82d4277ebec07.
2018-11-07 08:37:51 +00:00
..
agda
bintools-wrapper cc-wrapper, bintools-wrapper: simply symlink man and info outputs 2018-11-07 08:37:51 +00:00
build-bazel-package bazel-watcher: init at 0.5.0 2018-09-29 13:33:00 -07:00
build-dotnet-package
build-fhs-userenv reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
build-setupcfg
buildenv
cc-wrapper cc-wrapper, bintools-wrapper: simply symlink man and info outputs 2018-11-07 08:37:51 +00:00
docker dockerTools: Use nix instead of nixUnstable 2018-10-01 09:51:52 +02:00
dotnetbuildhelpers
dotnetenv
emacs lib: Make overrideScope' which takes arguments in the conventional order 2018-09-24 17:50:11 -04:00
expand-response-params
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchdocker Merge branch 'no-toPath' 2018-09-06 08:09:53 -04:00
fetchegg
fetchfossil
fetchgit
fetchgitlocal
fetchgx
fetchhg
fetchipfs
fetchmavenartifact
fetchmtn
fetchnuget
fetchpatch fetchpatch: patchutils -> buildPackages.patchutils 2018-08-21 17:21:25 -04:00
fetchrepoproject
fetchs3
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl
fetchzip fetchzip: Use unzip from buildPackages 2018-09-21 12:55:32 -04:00
icon-conv-tools
kernel treewide: Remove usage of remaining redundant platform compatability stuff 2018-08-30 17:20:32 -04:00
libredirect
make-desktopitem
make-startupitem
make-symlinks
mkshell
mono-dll-fixer
nix-prefetch-github
nuke-references
ocaml
references-by-popularity referencesByPopularity: init to sort packages by a cachability heuristic 2018-09-26 15:50:10 -04:00
release reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
remove-references-to
rust buildRustPackage: fix regex for separating lib and bin 2018-10-07 22:14:19 +02:00
setup-hooks breakpointHook: add for debugging failing builds 2018-10-25 10:19:41 +01:00
singularity-tools
skaware skaware: switch from git repos to tarballs 2018-09-06 11:53:22 +02:00
src-only
substitute
substitute-files
templaterpm
upstream-updater
vm debian vm tools: use snapshot.debian.org 2018-10-08 18:05:09 +02:00
wrapper-common
build-maven.nix buildMaven: Check for authenticated attribute 2018-07-25 16:00:52 +02:00
build-pecl.nix
closure-info.nix
dhall-to-nix.nix
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix trivial builders: adding usage documentation for functions 2018-10-02 22:09:09 +02:00