feat(depot): Prevent imports from NIX_PATH within the depot
Provided without further comment. Change-Id: I19d14530243c72d49b14526f769b964b06959db8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3500 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
b1f4b530ec
commit
8b4e0dbf2e
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ let
|
|||
args = depotArgs;
|
||||
path = ./.;
|
||||
filter = depotArgsFilter;
|
||||
scopedArgs = {
|
||||
__findFile = _: _: throw "Do not import from NIX_PATH in the depot!";
|
||||
};
|
||||
};
|
||||
|
||||
# To determine build targets, we walk through the depot tree and
|
||||
|
|
Loading…
Reference in a new issue