NixOS/nixpkgs — pull request #3495 by geerds (2014-08-08 15:43:55+00:00)
Title: Fix virtualenvwrapper shell scripts

This pull request fixes the broken shell scripts. From now on it is possible to call ```source virtualenvwrapper.sh``` in your shell and virtualenvwrapper is working as expected (e.g. no more ```nix-shell -p pythonPackages.python pythonPackages.virtualenvwrapper```)

This might look like a dirty hack but we can't use the makeWrapper function because the wrapped file were then called via "exec". The virtualenvwrapper shell scripts aren't normal executables. Instead, the user has to evaluate them. However, if we really use makeWrapper and call ```source virtualenvwrapper.sh```, the current shell quits immediately.