pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ python zlib ]
++ stdenv.lib.optional (!stdenv.isDarwin) libaio;
++ lib.optional (!stdenv.isDarwin) libaio;
nativeBuildInputs = [ makeWrapper ];
@@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
substituteInPlace tools/plot/fio2gnuplot --replace /usr/share/fio $out/share/fio
'';
postInstall = stdenv.lib.optionalString withGnuplot ''
postInstall = lib.optionalString withGnuplot ''
wrapProgram $out/bin/fio2gnuplot \
--prefix PATH : ${stdenv.lib.makeBinPath [ gnuplot ]}
--prefix PATH : ${lib.makeBinPath [ gnuplot ]}
'';
meta = with lib; {