Hi,
as seen in the affected bugticket (
https://github.com/NixOS/nixpkgs/issues/38940) I attempted
to fix the broken build of `nixpkgs.osquery` (which has been marked
as broken on `master` and `release-18.03` by @xeji).
My efforts can be reviewed on the following branch:
https://github.com/Ma27/nixpkgs/tree/fix-osquery
I managed to get the package building by upgrading to the latest 3.x
(which contains several GCC fixes in upstream, before that it was needed to mess
even more around in the CMakeLists.txt, see `misc.patch` for further
reference). Unfortunately the package isn't functional ATM since the
linking of `gflags` seems to be broken, I'm not sure why, but it
complains about duplicated flags, so it seems as I accidentally broke it
in my CMake patches.
Unfortunately I lack sufficient time and knowledge for further investigation, so I'm
notifying you guys for some awareness, in case someone wants to take
over, my changes could help at least a bit :-)
Best regards,
Maximilian Bosch