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

OSX: Nix doesn't set SSL_CERT_FILE correctly, so cache uploading fails #7355

Closed
domenkozar opened this issue Feb 21, 2017 · 5 comments
Closed

Comments

@domenkozar
Copy link

Example build, see at the very bottom of the log: https://travis-ci.org/input-output-hk/cardano-sl/jobs/203753453

failed to upload cache
curl: (51) SSL: certificate verification failed (result: 5)

I'm looking into this.

@domenkozar
Copy link
Author

$ ls $SSL_CERT_FILE
/Users/travis/.nix-profile/etc/ssl/certs/ca-bundle.crt

This is NixOS/nix#921, which is not released yet.

@domenkozar domenkozar changed the title OSX: Nix doesn't set SSL_CERT_FILE correct, so cache uploading fails OSX: Nix doesn't set SSL_CERT_FILE correctly, so cache uploading fails Feb 21, 2017
@BanzaiMan
Copy link
Contributor

Nix support for Travis CI is community maintained.
Please open any issues at https://github.com/travis-ci/travis-ci/issues/new and cc @domenkozar @garbas @matthewbauer

@domenkozar
Copy link
Author

Workaround is to use nix-env -i curl.

@domenkozar
Copy link
Author

The fix is now in maintenance branch: https://github.com/NixOS/nix/commits/1.11-maintenance

@domenkozar
Copy link
Author

Nix 1.11.7 has been released that fixes this issue properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants