Skip to content

nix-channel: implement in c++ - #1026

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

shlevy merged 1 commit into
NixOS:masterfrom
shlevy:nix-channel-c++

Conversation

@shlevy

@shlevy shlevy commented Aug 11, 2016

Copy link
Copy Markdown
Member

No description provided.

@edolstra edolstra mentioned this pull request Aug 11, 2016
12 tasks done
@shlevy shlevy added this to the perl-to-c++ milestone Aug 11, 2016
Comment thread src/nix-channel/nix-channel.cc Outdated
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

shlevy commented Aug 11, 2016

Copy link
Copy Markdown
Member Author

@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