Commit Graph

12 Commits

Author SHA1 Message Date
Daiderd Jordan
b984c227d2
cmake: remove CMAKE_OSX_DEPLOYMENT_TARGET overrides
We _do_ want minimum versions in our packages.
2020-01-31 21:52:12 +01:00
Daiderd Jordan
9b579843d4
treewide: use stdenv.macosVersionMin 2020-01-31 21:52:12 +01:00
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
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Will Dietz
fc69a394fa cquery: 2018-08-08 -> 2018-10-14 (llvm6 -> llvm7)
also simplify include expression a touch
2018-10-16 12:30:06 -05:00
tobim
78e8173e57 cquery: 2018-05-01 -> 2018-08-08 (#44726)
This also extends the wrapper to explicitly set the cache
directory, since it is required for every invokation with
the `--init` option.
2018-08-09 01:31:15 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Tobias Mayer
5fb8267031 cquery: 2018-03-31 -> 2018-05-01
The update should fix the build on osx.
2018-05-01 20:40:06 +02:00
Tobias Mayer
04f3b76dce cquery: extended wrapper
Use NIX_CFLAGS_COMPILE to find additional include paths.
2018-03-28 12:13:04 +02:00
Tobias Mayer
4930caae80 cquery: init at 2018-03-25 2018-03-26 00:51:41 +02:00