diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2018-04-25 03:16:13 -0400 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-04-25 08:16:13 +0100 |
commit | 31e9e752ae0b998598ee1650b8c0db9cb04a0349 (patch) | |
tree | d539d10a2457cb4b8533a9980f40227f173427b9 | |
parent | 42c87d4716ebab88db1e7bd388dc24c37689c73d (diff) | |
download | nixlib-31e9e752ae0b998598ee1650b8c0db9cb04a0349.tar nixlib-31e9e752ae0b998598ee1650b8c0db9cb04a0349.tar.gz nixlib-31e9e752ae0b998598ee1650b8c0db9cb04a0349.tar.bz2 nixlib-31e9e752ae0b998598ee1650b8c0db9cb04a0349.tar.lz nixlib-31e9e752ae0b998598ee1650b8c0db9cb04a0349.tar.xz nixlib-31e9e752ae0b998598ee1650b8c0db9cb04a0349.tar.zst nixlib-31e9e752ae0b998598ee1650b8c0db9cb04a0349.zip |
fio: 3.5 -> 3.6, enable on darwin (#39452)
-rw-r--r-- | pkgs/tools/system/fio/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/system/fio/default.nix b/pkgs/tools/system/fio/default.nix index ee7c70240b0a..6e63f467f600 100644 --- a/pkgs/tools/system/fio/default.nix +++ b/pkgs/tools/system/fio/default.nix @@ -15,11 +15,15 @@ stdenv.mkDerivation rec { inherit sha256; }; - buildInputs = [ libaio python zlib ]; + buildInputs = [ python zlib ] + ++ stdenv.lib.optional (!stdenv.isDarwin) libaio; enableParallelBuilding = true; postPatch = '' + substituteInPlace Makefile \ + --replace "mandir = /usr/share/man" "mandir = \$(prefix)/man" \ + --replace "sharedir = /usr/share/fio" "sharedir = \$(prefix)/share/fio" substituteInPlace tools/plot/fio2gnuplot --replace /usr/share/fio $out/share/fio ''; |