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

git SSL issues with recent Nix on darwin #23605

Closed
domenkozar opened this issue Mar 7, 2017 · 11 comments
Closed

git SSL issues with recent Nix on darwin #23605

domenkozar opened this issue Mar 7, 2017 · 11 comments
Labels
0.kind: bug Something is broken 6.topic: darwin Running or building packages on Darwin

Comments

@domenkozar
Copy link
Member

domenkozar commented Mar 7, 2017

$ git pull
fatal: unable to access 'https://github.com/....git/': error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
$ nix-env --version
nix-env (Nix) 1.11.7
$ which git
/Users/admin/.nix-profile/bin/git

Workaround:

$ SSL_CERT_FILE=$NIX_SSL_CERT_FILE git pull

cc @edolstra did we patch git?

@domenkozar domenkozar added 6.topic: darwin Running or building packages on Darwin 0.kind: bug Something is broken labels Mar 7, 2017
@edolstra
Copy link
Member

edolstra commented Mar 7, 2017

I think you need this patch: 942dbf8

@domenkozar
Copy link
Member Author

domenkozar commented Mar 7, 2017

@domenkozar domenkozar added this to the 17.03 milestone Mar 9, 2017
@domenkozar
Copy link
Member Author

@edolstra any objections using that patch (minus the print line)?

@shanemikel
Copy link
Contributor

I just did an upgrade and It's broken.

Has the darwin support status changed?
I'm on nixpkgs-unstable channel

@globin
Copy link
Member

globin commented Mar 13, 2017

This only affects darwin, right? I don't see a reason for the milestone then? :)

@globin globin removed this from the 17.03 milestone Mar 13, 2017
@domenkozar
Copy link
Member Author

I'd like to fix it for release as well.

@LnL7
Copy link
Member

LnL7 commented Mar 13, 2017

I think so, I'm pretty sure the nixos modules set SSL_CERT_FILE but a linux single user install might also have issues.

@domenkozar
Copy link
Member Author

domenkozar commented Mar 20, 2017

This is now in staging, once built also needs to go to master and 17.03

cc @globin

@domenkozar
Copy link
Member Author

It has been fixed in 17.03, but it's still in staging for master.

@LnL7
Copy link
Member

LnL7 commented Mar 29, 2017

I thought all of those cert related changes where in master now, with the last staging merge.

@domenkozar
Copy link
Member Author

This is now on master and 17.03.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

5 participants