diff --git a/reference/config_files/conan.conf.rst b/reference/config_files/conan.conf.rst index 0ec6dcaaa4a5..0fea0ddee2a8 100644 --- a/reference/config_files/conan.conf.rst +++ b/reference/config_files/conan.conf.rst @@ -201,6 +201,9 @@ If not specified, the packages marked as `short_paths` will be stored in the ``C If the variable is set to "None" will disable the `short_paths` feature in Windows, for modern Windows that enable long paths at the system level. +Setting this variable equal to, or to a subdirectory of, the local conan cache (e.g. ~/.conan) +would result in an invalid cache configuration and is therefore disallowed. + The ``verbose_traceback`` variable will print the complete traceback when an error occurs in a recipe or even in the conan code base, allowing to debug the detected error. diff --git a/reference/env_vars.rst b/reference/env_vars.rst index c806046a378f..9feb64892f7c 100644 --- a/reference/env_vars.rst +++ b/reference/env_vars.rst @@ -540,6 +540,9 @@ marked as `short_paths` will be stored in the ``C:\.conan`` (or the current driv If set to ``None``, it will disable the `short_paths` feature in Windows for modern Windows that enable long paths at the system level. +Setting this variable equal to, or to a subdirectory of, the local conan cache (e.g. ~/.conan) +would result in an invalid cache configuration and is therefore disallowed. + CONAN_USE_ALWAYS_SHORT_PATHS ----------------------------