depot/third_party/nixpkgs/copy.bara.sky

23 lines
707 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/0002-zram-allow-memorymax.patch",
]),
core.move("", "third_party/nixpkgs"),
],
)