treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
@@ -29,12 +29,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ installShellFiles tcl ];
buildInputs = [ zlib openssl readline sqlite which ed ]
++ stdenv.lib.optional stdenv.isDarwin libiconv;
++ lib.optional stdenv.isDarwin libiconv;
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
configureFlags = [ "--disable-internal-sqlite" ]
++ stdenv.lib.optional withJson "--json";
++ lib.optional withJson "--json";
preCheck = ''
export TCLLIBPATH="${tcllib}/lib/tcllib${tcllib.version}"