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

nix-channel: implement in c++ #1026

Merged
merged 1 commit into from
Aug 31, 2016
Merged

nix-channel: implement in c++ #1026

merged 1 commit into from
Aug 31, 2016

Conversation

shlevy
Copy link
Member

@shlevy shlevy commented Aug 11, 2016

No description provided.

@edolstra edolstra mentioned this pull request Aug 11, 2016
12 tasks
@shlevy shlevy added this to the perl-to-c++ milestone Aug 11, 2016
setenv("NIX_DOWNLOAD_CACHE", channelCache.c_str(), 1);

// Figure out the name of the `.nix-channels' file to use
auto home = getenv("HOME");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=> getEnv (which returns a std::string).

@shlevy
Copy link
Member Author

shlevy commented Aug 11, 2016

@edolstra updated

@shlevy shlevy mentioned this pull request Aug 12, 2016
@edolstra
Copy link
Member

Looks good to me.

@shlevy shlevy merged commit 5912422 into NixOS:master Aug 31, 2016
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

Successfully merging this pull request may close these issues.

2 participants