Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 446bb88f1308
Choose a base ref
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4ee4fda52113
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 30, 2018

  1. nix copy: add an example with S3

    I couldn't find a good example how to use it with non-us-east-1 buckets.
    zimbatm committed Mar 30, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    shlevy Shea Levy
    Copy the full SHA
    865ca24 View commit details
  2. Merge pull request #2025 from zimbatm/document-s3-usage

    nix copy: add an example with S3
    edolstra authored Mar 30, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    4ee4fda View commit details
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/nix/copy.cc
6 changes: 6 additions & 0 deletions src/nix/copy.cc
Original file line number Diff line number Diff line change
@@ -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
};
}