diff --git a/conda_build/environ.py b/conda_build/environ.py index a6fca61837..c828caa457 100644 --- a/conda_build/environ.py +++ b/conda_build/environ.py @@ -1080,7 +1080,9 @@ def create_env( log.debug(str(specs_or_precs)) if not locks: - locks = utils.get_conda_operation_locks(config) + locks = utils.get_conda_operation_locks( + config.locking, config.bldpkgs_dirs, config.timeout + ) try: with utils.try_acquire_locks(locks, timeout=config.timeout): # input is a list of specs in MatchSpec format