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 copy: add an example with S3 #2025

Merged
merged 1 commit into from Mar 30, 2018
Merged

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Mar 29, 2018

I couldn't find a good example how to use it with non-us-east-1 buckets.

I think these options should be documented more thoroughly but I didn't find the right place to do it. If you point me to the right place I'm happy to write some more docs.

src/nix/copy.cc Outdated
@@ -67,6 +67,10 @@ struct CmdCopy : StorePathsCommand
"To copy a closure from another machine via SSH:",
"nix copy --from ssh://server /nix/store/a6cnl93nk1wxnq84brbbwr6hxw9gp2w9-blender-2.79-rc2"
},
Example{
Copy link
Member

Choose a reason for hiding this comment

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

There should probably be an #ifdef ENABLE_S3 around this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed!

I couldn't find a good example how to use it with non-us-east-1 buckets.
@edolstra edolstra merged commit 4ee4fda into NixOS:master Mar 30, 2018
@zimbatm zimbatm deleted the document-s3-usage branch March 30, 2018 12:01
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.

None yet

2 participants