-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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-copy-closure: Implement in C++. #1023
Conversation
@@ -552,7 +552,7 @@ void removeTempRoots(); | |||
ref<Store> openStore(const std::string & uri = getEnv("NIX_REMOTE")); | |||
|
|||
|
|||
void copyPaths(ref<Store> from, ref<Store> to, const Paths & storePaths); | |||
void copyPaths(ref<Store> from, ref<Store> to, const Paths & storePaths, bool substitute = false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@edolstra What path do you want to go here? Summarizing from previous discussion, I think the two reasonable options are:
I strongly prefer 1, as it will give people who don't want perl a way to get it without breaking compat immediately and requiring a decent chunk of work to port something that will just go away eventually, but I will do either of these. |
Tests fail currently because the database is not given proper hashes in the VM
03a4cbe
to
bfa41eb
Compare
@edolstra rebased on master. Still need advice re: previous comment. |
👍 for option 1 😄 |
@edolstra ping |
@edolstra I would really like to wrap this up. Can you please provide feedback here? If I haven't heard anything in a week or so I will go ahead with option 1 above, please let me know before then if that's not likely to be merged so I don't waste my time. |
Thanks, merged. |
Thank you! |
(on top of #981)