diff --git a/default.nix b/default.nix index bb9bc703b..77fb4ae54 100644 --- a/default.nix +++ b/default.nix @@ -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