diff options
author | Vincent Ambo <mail@tazj.in> | 2021-04-12T20·26+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-04-12T21·55+0000 |
commit | f520bd40cab9bae4f8fa26fe36365a7bf9bccd5a (patch) | |
tree | 5f116d10e44b7f3616fb63c28e7de03d81869071 /nix | |
parent | a5591359702b62e4edd7fdbbd135475037aa6727 (diff) |
refactor: Replace 'depotPath' with 'depot.path' r/2497
Instead of having two ways of accessing the path to the depot (one of which was stuttering, depot.depotPath) we settle on only one: depot.path. This was mostly used for NixOS module imports. Co-Authored-By: Florian Klink <flokli@flokli.de> Change-Id: I2c0db23383fc34f6ca76baaad4cc4af2d9dfae15 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2962 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'nix')
-rw-r--r-- | nix/bufCheck/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/bufCheck/default.nix b/nix/bufCheck/default.nix index 6d17cb460ecf..7613d9215b69 100644 --- a/nix/bufCheck/default.nix +++ b/nix/bufCheck/default.nix @@ -3,7 +3,7 @@ { depot, pkgs, ... }: pkgs.writeShellScriptBin "ci-buf-check" '' - ${depot.third_party.bufbuild}/bin/buf check lint --input "${depot.depotPath}" + ${depot.third_party.bufbuild}/bin/buf check lint --input "${depot.path}" # Report-only - ${depot.third_party.bufbuild}/bin/buf check breaking --input "${depot.depotPath}" --against-input "${depot.depotPath}/.git#branch=canon" || true + ${depot.third_party.bufbuild}/bin/buf check breaking --input "${depot.path}" --against-input "${depot.path}/.git#branch=canon" || true '' |