query
On this page

shellAware

pkgs.haskell.lib.shellAware

Docs pulled from | This Revision | about 2 hours ago


nix-shell evaluation, return a nix-shell optimized environment.


Noogle detected

Implementation

The following is the current implementation of this function.

shellAware = p: if lib.inNixShell then p.env else p;