HomePhabricator
Diffusion Comm f0195ddd8301

[direnv] Redirect `use flake` to `/dev/null` if `COMM_NIX_LOGGING_LEVEL` is…

Tags
None
Referenced Files
F424600: c0c660.png
Mar 14 2023, 1:08 PM
File Not Attached
F424599: 1e2bae.png
Mar 14 2023, 1:08 PM
File Not Attached
Subscribers
None

Description

[direnv] Redirect use flake to /dev/null if COMM_NIX_LOGGING_LEVEL is "none"

Summary: Found the logging to be kind of annoying. Would prefer if Nix/Direnv worked completely in the background. Realize this is a personal preference so this change won't affect anyone unless they explicitly set COMM_NIX_LOGGING_LEVEL="none".

Test Plan:
Before setting COMM_NIX_LOGGING_LEVEL:

1e2bae.png (468×1 px, 342 KB)

After setting COMM_NIX_LOGGING_LEVEL="none":

c0c660.png (110×866 px, 58 KB)

Reviewers: jon, ginsu, bartek, varun

Reviewed By: varun

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7052