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",
|
|
|
|
),
|
2020-05-31 18:02:01 +00:00
|
|
|
destination_files = glob(["third_party/nixpkgs/**"], exclude = [
|
|
|
|
"third_party/nixpkgs/copy.bara.sky",
|
|
|
|
"third_party/nixpkgs/patches/**",
|
|
|
|
]),
|
2020-04-24 23:41:38 +00:00
|
|
|
authoring = authoring.pass_thru("Default email <noreply+nixpkgs@lukegb.com>"),
|
|
|
|
transformations = [
|
2020-11-07 14:06:40 +00:00
|
|
|
patch.apply(patches = [
|
|
|
|
"patches/0002-zram-allow-memorymax.patch",
|
|
|
|
]),
|
2020-04-24 23:41:38 +00:00
|
|
|
core.move("", "third_party/nixpkgs"),
|
|
|
|
],
|
|
|
|
)
|