about summary refs log blame commit diff
path: root/nix/nix-1p/default.nix
blob: 6cc71b9548fc8caa73a699b5aa884257e5994111 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                    


                                     






                                                                    
# 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> { }, ... }:

(pkgs.runCommandLocal "nix-1p" { } ''
  mkdir $out
  cp ${./README.md} $out/README.md
'').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";
  };
})