summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-19 19:00:51 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-19 19:03:16 +0100
commit4a91cfd32b44fede17f135b47ff0f035652f203e (patch)
tree80bb3b0c8c94afaf1caac2d181972fdf35e15167 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent484403bf0e229f857cafb67ec2e516ed7dfdc2d2 (diff)
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).
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions