Merge pull request #108007 from lionello/patch-3
netperf: fix Darwin build
This commit is contained in:
commit
098f636ffc
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||||
sha256 = "1wbbgdvhadd3qs3afv6i777argdpcyxkwz4yv6aqp223n8ki6dm8";
|
sha256 = "1wbbgdvhadd3qs3afv6i777argdpcyxkwz4yv6aqp223n8ki6dm8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional (stdenv.hostPlatform.isx86) libsmbios;
|
buildInputs = stdenv.lib.optional (with stdenv.hostPlatform; isx86 && isLinux) libsmbios;
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
autoreconfPhase = ''
|
autoreconfPhase = ''
|
||||||
autoreconf -i -I src/missing/m4
|
autoreconf -i -I src/missing/m4
|
||||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||||
homepage = "http://www.netperf.org/netperf/";
|
homepage = "http://www.netperf.org/netperf/";
|
||||||
license = "Hewlett-Packard BSD-like license";
|
license = "Hewlett-Packard BSD-like license";
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
maintainers = [ stdenv.lib.maintainers.mmlb ];
|
maintainers = [ stdenv.lib.maintainers.mmlb ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue