2020-04-24 23:41:38 +00:00
|
|
|
core.workflow(
|
|
|
|
name = "default",
|
|
|
|
origin = git.github_origin(
|
|
|
|
url = "https://github.com/NixOS/nixpkgs.git",
|
2020-05-16 18:14:31 +00:00
|
|
|
ref = "nixos-unstable",
|
2020-04-24 23:41:38 +00:00
|
|
|
),
|
|
|
|
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 = [
|
2020-05-16 18:14:31 +00:00
|
|
|
patch.apply(patches = [
|
|
|
|
"patches/0001-buildBazelPackage-fetchConfigured.patch",
|
|
|
|
]),
|
2020-04-24 23:41:38 +00:00
|
|
|
core.move("", "third_party/nixpkgs"),
|
|
|
|
],
|
|
|
|
)
|