fio: 3.5 -> 3.6, enable on darwin (#39452)
This commit is contained in:
parent
42c87d4716
commit
31e9e752ae
@ -15,11 +15,15 @@ stdenv.mkDerivation rec {
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libaio python zlib ];
|
buildInputs = [ python zlib ]
|
||||||
|
++ stdenv.lib.optional (!stdenv.isDarwin) libaio;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postPatch = ''
|
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
|
substituteInPlace tools/plot/fio2gnuplot --replace /usr/share/fio $out/share/fio
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user