3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/virtualization/virtualbox
David Guibert 1e77d0b975 kernel 4.14 require libelf to compile modules.
[...]
make modules -C /nix/store/h1vzl6bq4wif3m8dd1bw2p3fv4shjg3n-linux-4.14.9-dev/lib/modules/4.14.9/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/tmp/nix-build-spl-kernel-2017-11-16-4.14.9.drv-0/source/build
/nix/store/h1vzl6bq4wif3m8dd1bw2p3fv4shjg3n-linux-4.14.9-dev/lib/modules/4.14.9/source/Makefile:939: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop.

This patch introduces kernel.moduleBuildDependencies to avoid the logic "stdenv.lib.optional (stdenv.lib.versionAtLeast kernel.version "4.14") libelf" in multiple places.

[dezgeg did some minor tweaks on top]
2017-12-29 23:08:17 +02:00
..
guest-additions kernel 4.14 require libelf to compile modules. 2017-12-29 23:08:17 +02:00
default.nix virtualbox: add license 2017-12-23 03:16:18 +00:00
hardened.patch virtualbox: 5.1.26 -> 5.2.0 2017-11-15 10:14:44 -05:00
HostServices-SharedClipboard-x11-stub.cpp-use-RT_NOR.patch virtualbox: patch HostServices/SharedClipboard/x11-stub.cpp to use RT_NOREF 2017-12-07 01:46:18 +01:00
qtx11extras.patch virtualbox: 5.1.26 -> 5.2.0 2017-11-15 10:14:44 -05:00
update.py virtualbox: 5.1.8 -> 5.1.10 2016-12-15 16:20:33 +08:00