Eelco Dolstra 4a91cfd32b Add a global variable ‘inNixShell’
This is primarily useful in Nix expressions that are also intended to
be used by nix-shell.  It allows saying things like:

  buildInputs = [ ... ] ++ (if inNixShell then [ emacs ] else [ ]);

This should not be used in Nixpkgs (since the question of what
constitutes a useful nix-shell environment is very subjective).
2014-02-19 19:03:16 +01:00
..
2013-10-10 13:28:21 +02:00
2013-10-10 13:28:21 +02:00
2013-11-12 13:48:30 +01:00
2013-12-12 14:01:48 -05:00
2013-10-24 14:49:59 +02:00
2014-02-11 13:51:54 -05:00
2013-11-12 13:48:30 +01:00
2014-02-06 12:30:26 +01:00
2013-10-10 13:28:21 +02:00
2013-11-12 13:48:30 +01:00
2013-10-28 22:45:55 +01:00
2013-10-10 13:28:21 +02:00