Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] Refer to CONAN_HOME from global.conf #13419

Closed
1 task done
tonichedgehog opened this issue Mar 11, 2023 · 2 comments
Closed
1 task done

[question] Refer to CONAN_HOME from global.conf #13419

tonichedgehog opened this issue Mar 11, 2023 · 2 comments
Milestone

Comments

@tonichedgehog
Copy link

What is your question?

Hi, I have a question on how to refer to CONAN_HOME from global.conf.

I distribute a custom cacert file using conan config install, and would like to point the core.net.http:cacert_path setting to that file, preferably within the conan home directory.

Giving a relative path doesn't seem to work. I suppose I could use something like {{os.getenv("CONAN_HOME")}}/my_ca_certs.pem, but I can't rely on that environment variable to be set explicitly.

Thanks in advance.

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@gpxricky
Copy link

Hi @tonichedgehog

this will be solved in Conan 2.0.2. Refer to #13415 for details.

@memsharded
Copy link
Member

Thanks for the hint @gpxricky!

yes, this would be closed by #13415, where conan_home_folder will be available as variable for jinja.

@memsharded memsharded added this to the 2.0.2 milestone Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants