Add Copybara config for nixpkgs.

This commit is contained in:
Luke Granger-Brown 2020-04-25 00:41:38 +01:00
parent e25dfbc6bd
commit c2fb139d0a

17
third_party/nixpkgs/copy.bara.sky vendored Normal file
View file

@ -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 <noreply+nixpkgs@lukegb.com>"),
transformations = [
core.move("", "third_party/nixpkgs"),
],
)