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
+2 -2
View File
@@ -15,11 +15,11 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DCMAKE_INSTALL_DOCDIR=share/doc/${pname}"
"-DUSE_NVML=OFF"
] ++ stdenv.lib.optional smartSupport "-DUSE_ATASMART=ON";
] ++ lib.optional smartSupport "-DUSE_ATASMART=ON";
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libyamlcpp ] ++ stdenv.lib.optional smartSupport libatasmart;
buildInputs = [ libyamlcpp ] ++ lib.optional smartSupport libatasmart;
installPhase = ''
runHook preInstall