nixpkgs/pkgs
Chuck a45b3ad89f
makeWrapper: Remove unused extraFlagsArray feature
There is a bug in this feature: It allows extra arguments to leak in
from the environment. For example:

  $ export extraFlagsArray=date
  $ man ls

Note that you get the man page for date rather than for ls. This happens
because 'man' happens to use a wrapper (to add groff to its PATH).

An attempt to fix this was made in 5ae18574fc in PR #19328 for
issue #2537, but 1. That change didn't actually fix the problem because
it addressed makeWrapper's environment during the build process, not the
constructed wrapper script's environment after installation, and 2. That
change was apparently accidentally lost when merged with 7ff6eec5fd.

Rather than trying to fix the bug again, we remove the extraFlagsArray
feature, since it has never been used in the public repo in the ten
years it has been available.

wrapAclocal continues to use its own, separate flavor of extraFlagsArray
in a more limited context. The analogous bug there was fixed in
4d7d10da6b in 2011.
2019-09-25 09:23:09 -07:00
..
applications djvulibre: {adopt, clean-up, upd description} (#69271) 2019-09-24 15:10:13 +01:00
build-support makeWrapper: Remove unused extraFlagsArray feature 2019-09-25 09:23:09 -07:00
common-updater
data Merge branch 'staging-next' into staging 2019-09-24 08:15:01 +02:00
desktops makeWrapper: Remove unused extraFlagsArray feature 2019-09-25 09:23:09 -07:00
development makeWrapper: Remove unused extraFlagsArray feature 2019-09-25 09:23:09 -07:00
games makeWrapper: Remove unused extraFlagsArray feature 2019-09-25 09:23:09 -07:00
misc Merge branch 'staging-next' into staging 2019-09-24 08:15:01 +02:00
os-specific kernel/common-config: enable SCHED_DEBUG 2019-09-24 20:29:04 +00:00
servers pulseaudio: 12.2 -> 13.0 2019-09-24 22:32:30 -04:00
shells zsh-completions: 0.30.0 -> 0.31.0 2019-09-21 02:54:36 -05:00
stdenv Merge pull request #69028 from matthewbauer/remove-iselfexec-iselfdyn 2019-09-20 23:26:48 -04:00
test treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
tools Re-revert "awscli: Get rid of runtime -dev dependencies" 2019-09-24 08:15:26 +02:00
top-level qtwebengine: fix build with pulseaudio 13.0 2019-09-24 22:32:30 -04:00