Skip to content

nix-channel: implement in c++#1026

Merged
shlevy merged 1 commit intoNixOS:masterfrom
shlevy:nix-channel-c++
Aug 31, 2016
Merged

nix-channel: implement in c++#1026
shlevy merged 1 commit intoNixOS:masterfrom
shlevy:nix-channel-c++

Conversation

@shlevy
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

shlevy commented Aug 11, 2016

@edolstra updated

@shlevy shlevy mentioned this pull request Aug 12, 2016
@edolstra
Copy link
Copy Markdown
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