2022-05-29 13:48:24 +02:00
|
|
|
# The canonical source location of nix-1p is //nix/nix-1p in the TVL
|
|
|
|
# depot: https://code.tvl.fyi/about/nix/nix-1p
|
|
|
|
#
|
|
|
|
# This file configures TVL CI to mirror the subtree to GitHub.
|
|
|
|
{ depot ? { }, pkgs ? import <nixpkgs> { }, ... }:
|
|
|
|
|
2022-06-16 16:59:48 +02:00
|
|
|
(pkgs.runCommandLocal "nix-1p" { } ''
|
|
|
|
mkdir $out
|
|
|
|
cp ${./README.md} $out/README.md
|
2022-05-29 13:48:24 +02:00
|
|
|
'').overrideAttrs (_: {
|
|
|
|
meta.ci.extraSteps.github = depot.tools.releases.filteredGitPush {
|
|
|
|
filter = ":/nix/nix-1p";
|
|
|
|
remote = "git@github.com:tazjin/nix-1p.git";
|
|
|
|
ref = "refs/heads/master";
|
|
|
|
};
|
|
|
|
})
|