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", ), origin_files = glob(["**"], exclude = [ "pkgs/test/nixpkgs-check-by-name/tests/**", ]), destination_files = glob(["third_party/nixpkgs/**"], exclude = [ "third_party/nixpkgs/copy.bara.sky", "third_party/nixpkgs/patches/**", ]), authoring = authoring.pass_thru("Default email "), transformations = [ patch.apply(series = "patches/series"), core.move("", "third_party/nixpkgs"), ], )