Merge pull request #2025 from zimbatm/document-s3-usage

nix copy: add an example with S3
This commit is contained in:
Eelco Dolstra 2018-03-30 11:38:30 +02:00 committed by GitHub
commit 4ee4fda521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,12 @@ struct CmdCopy : StorePathsCommand
"To copy a closure from another machine via SSH:",
"nix copy --from ssh://server /nix/store/a6cnl93nk1wxnq84brbbwr6hxw9gp2w9-blender-2.79-rc2"
},
#ifdef ENABLE_S3
Example{
"To populate the current folder build output to a S3 binary cache:",
"nix copy --to s3://my-bucket?region=eu-west-1"
},
#endif
};
}