nixpkgs/pkgs/applications/virtualization
Will Dietz 3d4aa7e95d qemu: workaround 'struct sysinfo' conflict musl <--> linux
Most everyone using musl patches the linux headers instead,
but various software uses a local workaround like the
one added in this commit (psutils, for example).

It's not obvious to me which project has the "bug",
and I'm reluctant to even propose modifying our headers
without clear answer on the issue.

Also, modifying those headers triggers rebuild-all-the-things.

Hopefully upstream projects sort this out, in the meantime
adding this define is a bit of a kludge but does the job.

-------

For the curious, the patch usually is something like this:
https://patchwork.kernel.org/patch/3833241/

Here's an updated version that also ensures
kernel users get the sysinfo struct as expected too:
https://raw.githubusercontent.com/openwrt/openwrt/e3c43ade0bae9491aeea50fa361e846bb5002dc0/target/linux/generic/pending-4.14/270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch

(cherry picked from commit dtzWill/nixpkgs@91b5f5a463)
2018-04-26 17:58:16 +02:00
..
8086tiny Small style fixups 2014-09-10 21:34:50 -03:00
aqemu aqemu: init at 0.9.2 2017-02-10 12:48:29 +01:00
bochs treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
cbfstool cbfstool: 4.5 -> 4.7, fixes build 2018-03-03 22:06:35 +02:00
containerd containerd: 1.0.2 -> 1.0.3 2018-04-07 16:39:07 -07:00
docker treewide: move "extensions" drvs to dir 2018-04-17 13:50:49 -05:00
driver pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
dynamips dynamips: 0.2.17 -> 0.2.18 2018-04-01 00:05:29 +02:00
ecs-agent ecs-agent: init at 1.14.0 2017-02-10 04:33:48 +00:00
lkl lkl: 2017-11-10 -> 2018-03-10 2018-03-18 08:38:26 +02:00
looking-glass-client tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
open-vm-tools open-vm-tools: Broken on non-x86 2017-12-03 19:51:58 +02:00
OVMF edk2, OVMF: Build on aarch64 2018-03-21 23:19:26 +02:00
qboot qboot: turn off stackprotector and pic hardening 2016-04-03 11:41:30 +00:00
qemu qemu: workaround 'struct sysinfo' conflict musl <--> linux 2018-04-26 17:58:16 +02:00
rancher-compose pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
remotebox remotebox: 2.2 -> 2.4 2018-03-01 15:41:37 +01:00
rkt rkt: 1.29.0 -> 1.30.0 2018-04-17 20:41:08 -04:00
runc runc: 1.0.0rc4 -> 1.0.0rc5 2018-03-11 15:42:36 -05:00
seabios seabios: 1.9.3 -> 1.11.0 2018-03-04 17:33:29 +00:00
singularity singularity: 2.4.5 -> 2.4.6 2018-04-20 00:28:23 -07:00
spice-vdagent tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
tini tini: 0.16.1 -> 0.17.0 2018-03-09 14:39:48 -08:00
virt-manager virtmanager-qt: 0.52.80 -> 0.60.88 2018-04-17 22:11:25 +08:00
virt-top libvirt: 3.10.0 -> 4.1.0 2018-03-08 23:45:28 +00:00
virt-viewer tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
virt-what virt-what: init at 1.18 2017-09-29 00:07:37 +02:00
virtinst virtinst: do not depend on glanceclient 2017-05-07 10:02:33 +02:00
virtualbox virtualbox: 5.2.6 -> 5.2.8 2018-03-13 22:07:25 +01:00
vpcs vpcs: fix build with glibc 2.26 2017-11-16 12:30:39 +00:00
xen xen-4.8: fix qemu-xen build error in memfd.c 2018-04-13 22:06:52 +02:00
xhyve replace "Mac OS X" and "OS X" with "macOS" 2017-08-07 21:41:30 +02:00