mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
710c4c3c9d
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:
|
||
---|---|---|
.. | ||
apparmor-patches | ||
bridge-stp-helper.patch | ||
common-config.nix | ||
crc-regression.patch | ||
generate-config.pl | ||
generic.nix | ||
grsec-path.patch | ||
linux-3.10.nix | ||
linux-3.12.nix | ||
linux-3.14.nix | ||
linux-3.18.nix | ||
linux-4.0.nix | ||
linux-4.1.nix | ||
linux-4.2.nix | ||
linux-rpi.nix | ||
linux-testing.nix | ||
linux.upstream.template | ||
manual-config.nix | ||
mips-ext3-n32.patch | ||
mips-fpu-sigill.patch | ||
mips-fpureg-emulation.patch | ||
no-xsave.patch | ||
patches.nix | ||
perf.diff | ||
perf.nix | ||
ubuntu-fan-3.patch | ||
ubuntu-fan-4.patch | ||
update.sh |