nixpkgs/pkgs/os-specific
Tuomas Tynkkynen 710c4c3c9d linuxPackages_*.perf: Fix build after kernel 4.1
In 4.1, the build system changed, and it now wants to execute ld like this:

ld -r -o util/scripting-engines/libperf-in.o util/scripting-engines/trace-event-perl.o util/scripting-engines/trace-event-python.o

The actual problem seems to be that `buildInputs = [elfutils ...]`
causes 'ld' to point to elfutils in PATH instead of the usual binutils.

So remove elfutils from buildInputs and set NIX_CFLAGS_* manually. This
is a slight hack, but there is some precedent:
0761f81da7/pkgs/tools/package-management/rpm/default.nix (L13)

Fixes #9095.
2015-09-03 23:37:15 +03:00
..
darwin Revert "add Darwin's flavor of lsof" 2015-08-21 12:05:06 +02:00
gnu samba: Revert style changes and get rid of some dependencies 2015-06-01 15:35:59 +02:00
linux linuxPackages_*.perf: Fix build after kernel 4.1 2015-09-03 23:37:15 +03:00
windows libgcrypt: Massive cleanup and make 1.6 the default 2015-05-01 17:41:42 -07:00