Merge pull request #108007 from lionello/patch-3

netperf: fix Darwin build
This commit is contained in:
Linus Heckemann 2020-12-31 09:03:39 +01:00 committed by GitHub
commit 098f636ffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
}; };
} }