summaryrefslogtreecommitdiffstats
path: root/pkgs/tools
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-03-25 12:47:58 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2021-03-25 12:47:58 +0100
commit9533ed6c65866b7dedf75e015040f559e257b6b6 (patch)
tree549baecf8cc62255b313650f8f7365cb5e05241a /pkgs/tools
parent15a9c8ba60a0b37980bb2099b6160255174876e7 (diff)
fio: use python3
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/system/fio/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/system/fio/default.nix b/pkgs/tools/system/fio/default.nix
index d34f0d4b737c..fc4ea8d6b331 100644
--- a/pkgs/tools/system/fio/default.nix
+++ b/pkgs/tools/system/fio/default.nix
@@ -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 = ''