diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-10-12T06·18-0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2022-10-13T02·49+0000 |
commit | e83609a06195642f472b112ffa95f001fde8ef60 (patch) | |
tree | 6bacd989b4c2d7600e2d3b5c8b81f6891c737760 /tvix/eval/src/nix_search_path.rs | |
parent | 7c99e9e8e300e10e8c81856fa9a094ce22876f8d (diff) |
feat(tvix/eval): allow to disable warnings r/5117
The nix_tests test suite produces lots of warnings. We can't fix these, since they are kept in sync with upstream, so there's little point in cluttering up the console with them every time the tests are run. Let's add a clap flag "warnings" and TVIX_WARNINGS environment variable. The default is "true". The test runner overrides this default and mutes the warnings. Signed-off-by: Adam Joseph <adam@westernsemico.com> Change-Id: I4b065f96fe15838afcca6970491a54e248ae4df7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6985 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/nix_search_path.rs')
0 files changed, 0 insertions, 0 deletions