diff options
-rw-r--r-- | default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/default.nix b/default.nix index f43e11bea370..640f6fda959a 100644 --- a/default.nix +++ b/default.nix @@ -62,6 +62,9 @@ let filter = parts: args: corpFilter parts (usersFilter parts args); scopedArgs = { __findFile = _: _: throw "Do not import from NIX_PATH in the depot!"; + builtins = builtins // { + currentSystem = throw "Use localSystem from the readTree args instead of builtins.currentSystem!"; + }; }; }; |