juspay / nix-health

REPO MOVED https://github.com/juspay/omnix/tree/main/crates/nix_health
https://github.com/juspay/omnix/tree/main/crates/nix_rs
28 stars 2 forks source link

`nix-health`: Check for dev shell #4

Open srid opened 4 months ago

srid commented 4 months ago

Add a check that will show if the user is in devShell or not.

This can then be used to detect nested devShell (and the problems caused by it, eg.: https://github.com/NixOS/nix/issues/6140#issuecomment-1986317698) by running nix-health as part of shellHook.