query
On this page

shellAware

pkgs.haskell.lib.shellAware

Docs pulled from | This Revision | 18 days ago


Nixpkgs manual

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;