fio: limit libnbd to Linux

libnbd only lists Linux as a supported platform, so only add it to
buildInputs for Linux.
This commit is contained in:
Alex James 2025-10-19 18:18:05 -07:00
parent 1d784f7a68
commit 2b306e544a
No known key found for this signature in database
GPG key ID: 4729B829AC5FCC72

View file

@ -10,7 +10,7 @@
zlib,
withGnuplot ? false,
gnuplot,
withLibnbd ? true,
withLibnbd ? stdenv.hostPlatform.isLinux,
libnbd,
}: