diff options
author | Vincent Ambo <mail@tazj.in> | 2022-06-16T14·59+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-06-16T15·08+0000 |
commit | 544d72189c5c1dc7a24d5dec68e9d377a62e5dc0 (patch) | |
tree | 1903b9170b5abc631ee916d8cdad9177a8b6baec /nix/nix-1p/default.nix | |
parent | ac10907913b713403194021c1d68cb34a1d68a19 (diff) |
chore(nixery): use nix-1p from within the depot r/4242
Since the source of nix-1p is checked in under //nix/nix-1p, we should use it from there if Nixery is being built inside of depot. Change-Id: Iddd54f7b93b398b2f909db6ee105366a9914a2ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/5882 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'nix/nix-1p/default.nix')
-rw-r--r-- | nix/nix-1p/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nix/nix-1p/default.nix b/nix/nix-1p/default.nix index cd1af92d83cc..6cc71b9548fc 100644 --- a/nix/nix-1p/default.nix +++ b/nix/nix-1p/default.nix @@ -4,8 +4,9 @@ # This file configures TVL CI to mirror the subtree to GitHub. { depot ? { }, pkgs ? import <nixpkgs> { }, ... }: -(pkgs.runCommandLocal "nix-1p.md" { } '' - cp ${./README.md} $out +(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"; |