netperf: remove libsmbios on non-x86
This fixes building on ARM systems.
commita94c9ad2de2037ba5565aac6cdccb2cd6a7dc27f
authorLinus Heckemann <git@sphalerite.org>
dateMon 25 Mar 2019, 10:43 (8 years ago)
parent7c9e225
pkgs/applications/networking/netperf/default.nix+1−1
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 sha256 = "0wfj9kkhar6jb5639f5wxpwsraxw4v9yzg71rsdidvj5fyncjjq2";
1111 };
1212
13− buildInputs = [ libsmbios ];
13+ buildInputs = stdenv.lib.optional (stdenv.hostPlatform.isx86) libsmbios;
1414 nativeBuildInputs = [ autoreconfHook ];
1515 autoreconfPhase = ''
1616 autoreconf -i -I src/missing/m4