nixpkgs/pkgs/build-support
Alyssa Ross 1421404d42 stdenv: fix backward multiple outputs conditional
This is supposed to shareDocName to a fallback value if it can't be
determined from looking at the configure script.  But the conditional
checked whether shareDocName was set, rather than if it wasn't.  This
meant that if shareDocName had been detected from a configure script,
it would be immediately overridden by the package name, and if it
couldn't be detected, shareDocName would remain unset.

This resulted in QEMU installing files like $out/share/doc/index.html,
which should of course have been in $out/share/doc/qemu/index.html.

An interesting side effect of this is that, since
9f8751528c when this code was added, the
detected package name has never actually been used for installing
documentation, because it would always be overridden.  So this patch
will actually enable that for the first time, four years later.

Fixes: https://github.com/NixOS/nixpkgs/issues/90486
2020-06-29 13:56:27 +00:00
..
add-opengl-runpath addOpenGLRunpath: only apply to ELF files 2019-05-23 16:52:45 -04:00
agda agda: install literate files 2020-06-01 13:59:20 +01:00
alternatives lapack: fix darwin library identifiers 2020-04-24 20:00:56 +02:00
appimage appimage: replace radare2+jq with readelf+awk+sha256sum 2020-05-29 11:14:16 +02:00
bintools-wrapper Merge pull request #83180 from matthewbauer/only-add-ldflags-for-macos 2020-05-13 10:34:40 -05:00
build-bazel-package build-bazel-package: pass proxy env vars 2020-05-09 13:35:47 -05:00
build-dotnet-package treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
build-fhs-userenv *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00
build-setupcfg
buildenv buildenv: paths to link resolving to the same absolute path is not a conflict 2020-06-10 06:42:48 -03:00
cc-wrapper C++ Compilers: Systematize handling of standard libraries 2020-06-22 04:24:44 +00:00
docker dockerTools: keep symlinks to nix intact 2020-06-19 10:08:34 +02:00
dotnetbuildhelpers treewide: pkg-config has targetPrefix 2020-05-16 00:21:21 +00:00
dotnetenv
emacs Fix building of emacsWithPackages not findind subdirs.el 2020-06-02 11:52:39 +02:00
expand-response-params
fetchbitbucket all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchbower
fetchbzr treewide: replace bazaar with breezy 2020-05-25 09:22:54 +02:00
fetchcvs
fetchdarcs
fetchdocker treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
fetchfossil
fetchgit nix-prefetch-git: also add store path to json output 2020-05-04 17:43:29 +05:30
fetchgithub all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchgitiles fetchFromGitiles: init 2019-12-02 22:44:33 +00:00
fetchgitlab fetchgitlab: escape rev to support "+" in it 2020-05-24 22:24:50 +02:00
fetchgitlocal
fetchgx
fetchhg prefer-fetch-remote: an overlay to fetch on remote builders 2019-01-18 14:41:10 +00:00
fetchipfs prefer-fetch-remote: an overlay to fetch on remote builders 2019-01-18 14:41:10 +00:00
fetchmavenartifact treewide: central.maven.org -> repo1.maven.org 2020-06-12 14:26:08 +00:00
fetchmtn
fetchnuget
fetchpatch fetchpatch: Allow using base64-encoded hash 2020-03-02 23:57:40 +01:00
fetchrepoorcz all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchrepoproject
fetchs3
fetchsavannah all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchsvn fetchsvn: Fix for cross 2020-03-09 02:11:45 -04:00
fetchsvnrevision
fetchsvnssh fetchsvnssh: move defaults to package file 2019-02-03 15:30:27 +00:00
fetchurl treewide: central.maven.org -> repo1.maven.org 2020-06-12 14:26:08 +00:00
fetchzip Revert "fetchzip, fetchgit: cleanup handling of optional features and whitespace" 2020-03-26 00:35:40 -04:00
icon-conv-tools
install-shell-files installShellFiles: init (#65211) 2019-09-04 23:19:17 +02:00
kernel modules-shrunk: preserve module priorities from build 2019-12-07 23:04:17 +01:00
libredirect libredirect: fix build on darwin 2020-01-23 20:20:20 -05:00
make-desktopitem makeDesktopItem: make categories optional 2020-03-31 04:10:58 +00:00
make-startupitem
make-symlinks
mkshell mkshell: improve mergeInputs 2019-06-23 22:20:10 +02:00
mono-dll-fixer
nix-gitignore nix-gitignore: init at v3.0.0 (#46112) 2019-02-18 09:57:30 +00:00
nuke-references nukeReferences: Use stdenvNoCC 2019-10-11 17:12:09 +02:00
ocaml buildDunePackage: add support for parallel build 2020-04-29 16:08:52 +02:00
oci-tools ociTools: init 2019-09-04 22:46:42 +00:00
pkg-config-wrapper pkg-config-wrapper: Move comments outside of strings 2020-05-21 11:35:46 -04:00
prefer-remote-fetch prefer-fetch-remote: an overlay to fetch on remote builders 2019-01-18 14:41:10 +00:00
references-by-popularity references-by-popularity: cache computation to avoid memory bloat 2019-03-05 16:37:52 -05:00
release releaseTools: no-op expression cleanup 2020-03-21 21:15:33 -04:00
remove-references-to
rust Merge pull request #90193 from danieldk/build-rs-feature-env 2020-06-16 14:19:56 +02:00
setup-hooks stdenv: fix backward multiple outputs conditional 2020-06-29 13:56:27 +00:00
singularity-tools singularity-tools: fix buildImage 2020-02-02 09:18:39 +11:00
skaware skawarePackages.cleanPackaging: copy docFiles before rm noise 2020-05-21 19:46:38 +02:00
snap doc: fix after snaptools merge 2019-07-10 08:02:14 -07:00
src-only srcOnly: rename buildInputs to nativeBuildInputs 2020-04-27 14:31:40 +02:00
substitute substituteAll: allowSubstitutes = false; 2019-02-07 22:20:42 +00:00
substitute-files substituteAllFiles: allowSubstitutes = false 2019-02-08 00:22:51 +00:00
templaterpm treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
upstream-updater treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
vm Merge pull request #82258 from erikarvstedt/fix-xchg-caching 2020-06-01 22:34:48 +02:00
wrapper-common *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00
writers pkgs/build-support/writers: use runCommandLocal for scripts 2020-02-18 19:53:18 +01:00
build-maven.nix
build-pecl.nix php.buildPecl: Allow PECLs to depend on other PECLs 2020-05-09 23:38:21 +02:00
closure-info.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
dhall-to-nix.nix treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
trivial-builders.nix trivial-builders: Sanitize derivation name 2020-04-15 00:31:57 +02:00