diff --git a/build_installers.py b/build_installers.py index ec76a4a8..3457524f 100644 --- a/build_installers.py +++ b/build_installers.py @@ -451,7 +451,8 @@ def lockfiles(): from conda.base.context import context if WINDOWS: - local_channel = f"file:///{context.croot.replace('\\', '/')}" + local_channel = context.croot.replace('\\', '/') + local_channel = f"file:///{local_channel}" else: local_channel = f"file://{context.croot}" if not local_channel.endswith("/"):