mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
stress-ng: workaround kernel header SNAFU re:sysinfo, fix w/musl
This commit is contained in:
parent
3eb894e55b
commit
31be449657
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace Makefile --replace "/usr" ""
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.hostPlatform.isMusl "-D_LINUX_SYSINFO_H=1";
|
||||
|
||||
# Won't build on i686 because the binary will be linked again in the
|
||||
# install phase without checking the dependencies. This will prevent
|
||||
# triggering the rebuild. Why this only happens on i686 remains a
|
||||
|
Loading…
Reference in New Issue
Block a user