nixpkgs/pkgs/desktops/gnustep
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 5ae18574fce 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 7ff6eec5fd8.

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
4d7d10da6b1 in 2011.
2019-09-25 09:23:09 -07:00
..
back [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
base [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
gorm [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
gui [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
gworkspace
libobjc2 gnustep.libobjc: 1.9 -> 2.0 2019-06-01 20:26:25 -07:00
make makeWrapper: Remove unused extraFlagsArray feature 2019-09-25 09:23:09 -07:00
projectcenter [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
systempreferences
default.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00