From c2fb139d0a3c77eb428456ae2dcee6a436a27a19 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 25 Apr 2020 00:41:38 +0100 Subject: [PATCH] Add Copybara config for nixpkgs. --- third_party/nixpkgs/copy.bara.sky | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 third_party/nixpkgs/copy.bara.sky diff --git a/third_party/nixpkgs/copy.bara.sky b/third_party/nixpkgs/copy.bara.sky new file mode 100644 index 0000000000..b3c475115e --- /dev/null +++ b/third_party/nixpkgs/copy.bara.sky @@ -0,0 +1,17 @@ +core.workflow( + name = "default", + origin = git.github_origin( + url = "https://github.com/NixOS/nixpkgs.git", + ref = "master", + ), + destination = hg.destination( + url = "file:///home/lukegb/depot", + fetch = "default", + push = "default", + ), + destination_files = glob(["third_party/nixpkgs/**"], exclude = ["third_party/nixpkgs/copy.bara.sky"]), + authoring = authoring.pass_thru("Default email "), + transformations = [ + core.move("", "third_party/nixpkgs"), + ], +)