diff options
author | Will Dietz <w@wdtz.org> | 2019-09-14 18:12:36 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-09-16 12:37:43 -0500 |
commit | 31be449657de67a4593c36ef416569d4c63f97a5 (patch) | |
tree | d6972704bb53ff82b4657785e32179f1774ff59e /pkgs/tools/system | |
parent | 3eb894e55b194e925743b445bd3e932c57f4aa3f (diff) | |
download | nixlib-31be449657de67a4593c36ef416569d4c63f97a5.tar nixlib-31be449657de67a4593c36ef416569d4c63f97a5.tar.gz nixlib-31be449657de67a4593c36ef416569d4c63f97a5.tar.bz2 nixlib-31be449657de67a4593c36ef416569d4c63f97a5.tar.lz nixlib-31be449657de67a4593c36ef416569d4c63f97a5.tar.xz nixlib-31be449657de67a4593c36ef416569d4c63f97a5.tar.zst nixlib-31be449657de67a4593c36ef416569d4c63f97a5.zip |
stress-ng: workaround kernel header SNAFU re:sysinfo, fix w/musl
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/stress-ng/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/system/stress-ng/default.nix b/pkgs/tools/system/stress-ng/default.nix index d5b9b0fb73a2..7f7ce425fa77 100644 --- a/pkgs/tools/system/stress-ng/default.nix +++ b/pkgs/tools/system/stress-ng/default.nix @@ -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 |