23 lines
737 B
Text
23 lines
737 B
Text
core.workflow(
|
|
name = "default",
|
|
origin = git.github_origin(
|
|
url = "https://github.com/NixOS/nixpkgs.git",
|
|
ref = "nixos-unstable",
|
|
),
|
|
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",
|
|
"third_party/nixpkgs/patches/**",
|
|
]),
|
|
authoring = authoring.pass_thru("Default email <noreply+nixpkgs@lukegb.com>"),
|
|
transformations = [
|
|
patch.apply(patches = [
|
|
"patches/0001-buildBazelPackage-fetchConfigured.patch",
|
|
]),
|
|
core.move("", "third_party/nixpkgs"),
|
|
],
|
|
)
|