Merge pull request #68918 from dtzWill/update/stress-ng-0.10.05-musl
stress-ng: 0.10.02 -> 0.10.05, fix w/musl
This commit is contained in:
commit
76519374dc
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "stress-ng";
|
pname = "stress-ng";
|
||||||
version = "0.10.02";
|
version = "0.10.05";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz";
|
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "100daxz0j80jhmpfnqa78mvfwq1qj7zb67y7w9f747a0f1havvim";
|
sha256 = "0hkghs99fl8kzg3lkkd4w6cj5133zr9a415py0ng60kzrfffmgdy";
|
||||||
};
|
};
|
||||||
|
|
||||||
# All platforms inputs then Linux-only ones
|
# All platforms inputs then Linux-only ones
|
||||||
|
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace Makefile --replace "/usr" ""
|
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
|
# Won't build on i686 because the binary will be linked again in the
|
||||||
# install phase without checking the dependencies. This will prevent
|
# install phase without checking the dependencies. This will prevent
|
||||||
# triggering the rebuild. Why this only happens on i686 remains a
|
# triggering the rebuild. Why this only happens on i686 remains a
|
||||||
|
|
Loading…
Reference in New Issue