Instead of explicitly depending on libelf, use
kernel.moduleBuildDependencies which was introduced in 1e77d0b975
("kernel 4.14 require libelf to compile modules.").
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/lxc/versions.
These checks were done:
- built on NixOS
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-attach passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-autostart passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-cgroup passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-checkpoint passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-copy passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-config passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-console passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-create passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-destroy passed the binary check.
- Warning: no invocation of /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-device had a zero exit code or showed the expected version
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-execute passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-freeze passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-info passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-ls passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-monitor passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-snapshot passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-start passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-stop passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-top passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-unfreeze passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-unshare passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-usernsexec passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-wait passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-checkconfig passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/lxc-update-config passed the binary check.
- /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1/bin/init.lxc passed the binary check.
- 25 of 26 passed binary check by having a zero exit code.
- 20 of 26 passed binary check by having the new version present in output.
- found 3.0.1 with grep in /nix/store/x6894sbycq6n355c9nflvf51c5wl5b4a-lxc-3.0.1
- directory tree listing: https://gist.github.com/99239516868c9c02f18f88c0399aa8f1
- du listing: https://gist.github.com/60d07821cb31145506d2cba9745bbe7d
Fixes this:
$ nix-build -A linuxPackages.lttng-modules
[...]
/nix/store/...-linux-4.14.48-dev/lib/modules/4.14.48/source/Makefile:948: \
*** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfu
(Linux 4.16+ has other issues, so mark as broken.)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/bluez/versions.
These checks were done:
- built on NixOS
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetoothctl passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btmon passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/rctest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/l2test had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/l2ping had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bccmd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluemoon passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hex2hcd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/mpris-proxy passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btattach passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bdaddr passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/avinfo had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/avtest passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/scotest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/amptest had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hwdb passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hcieventmask had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hcisecfilter passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btinfo passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btconfig passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btsnoop passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btproxy passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btiotest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bneptest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/mcaptest passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/cltest had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/oobtest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/advtest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/seq2bseq passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/nokfw passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/rtlfw passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/create-image passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/eddystone passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/ibeacon passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btgatt-client passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btgatt-server passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/test-runner passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/check-selftest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/gatt-service had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btmgmt passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obex-client-tool passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obex-server-tool passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetooth-player passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obexctl passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hid2hci had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetoothd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obexd passed the binary check.
- 36 of 47 passed binary check by having a zero exit code.
- 19 of 47 passed binary check by having the new version present in output.
- found 5.50 with grep in /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50
- directory tree listing: https://gist.github.com/d81fb1f39a7430f91d1e576b1eb599e7
- du listing: https://gist.github.com/7555f6b1dcd34da7c9731a6de05e553b
Also remove the upstream device trees beforehand so we don't
accidentally end using them if we mess up in postFixup.
Also on the topic of mess ups, make the copy unconditional since they
always seem to be built on all architectures anyway so checking for
their existence just hides typos.
In particular, now the mainline kernel can be built on the RPi 1 as well
(so kernelBaseConfig should always be a mainline defconfig from now on).
And RPi 2 users can now use linux_rpi without doing the
`nixpkgs.config.platform = lib.systems.platforms.raspberrypi2;` dance.