Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a direnv health check (flake-specific) #4

Closed
srid opened this issue Apr 27, 2023 · 11 comments
Closed

Add a direnv health check (flake-specific) #4

srid opened this issue Apr 27, 2023 · 11 comments
Labels
good first issue Good for newcomers

Comments

@srid
Copy link
Owner

srid commented Apr 27, 2023

This check should be disabled by default, and only enabled when nix-health.default.direnv.enable = true; is in the flake (per #60).

It should check:

@srid srid added the good first issue Good for newcomers label Apr 27, 2023
@shivaraj-bh

This comment was marked as resolved.

@shivaraj-bh

This comment was marked as resolved.

@shivaraj-bh
Copy link

For now, I can parse direnv status and check for the line Found RC allowed true to verify if direnv is allowed, in future parsing it from json would be better. ref: direnv/direnv#244 (comment)

@srid

This comment was marked as resolved.

@srid

This comment was marked as resolved.

@shivaraj-bh

This comment was marked as resolved.

@srid

This comment was marked as resolved.

@srid

This comment was marked as resolved.

@srid
Copy link
Owner Author

srid commented Sep 15, 2023

I think this check should be disabled by default, and only enabled when nix-health.default.direnv.enable = true; is in the flake (per #60).

It should check:

This is enough to use this check in nammayatri.

I'll update the description accordingly.

@srid srid changed the title Add a direnv health check Add a direnv health check (flake-specific) Sep 15, 2023
@srid
Copy link
Owner Author

srid commented Sep 15, 2023

I'm gonna move this to nix-browser repo.

@srid
Copy link
Owner Author

srid commented Sep 15, 2023

juspay/omnix#70

@srid srid closed this as completed Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants