fio: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-25 12:47:58 +01:00
parent 15a9c8ba60
commit 9533ed6c65

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper
, libaio, python, zlib
, libaio, python3, zlib
, withGnuplot ? false, gnuplot ? null }:
stdenv.mkDerivation rec {
@ -13,11 +13,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-/Si0McndJ6Xp3ifDr+BStv89LmZyAgof95QkHGT8MGQ=";
};
buildInputs = [ python zlib ]
buildInputs = [ python3 zlib ]
++ lib.optional (!stdenv.isDarwin) libaio;
nativeBuildInputs = [ makeWrapper ];
strictDeps = true;
enableParallelBuilding = true;
postPatch = ''