summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorRickard Nilsson <rickynils@gmail.com>2013-09-13 16:48:54 +0200
committerRickard Nilsson <rickynils@gmail.com>2013-12-01 09:36:55 +0100
commit8685278f11f809af52710f165257fb5808018182 (patch)
treefeb1f1d1ebe5b0df2db5ca2f6062a7c244a4014d /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent214e92081f8748c508fbcd13d9b437368e17d839 (diff)
Add nix-run and myEnvRun
This adds nix-run, which is a thin wrapper around nix-build. nix-run calls nix-build, and then executes the resulting build. If no executable artifact is built, nix-runs outputs an error message. myEnvRun calls myEnvFun and builds a script that directly runs the load-env-* script. Together, nix-run and myEnvRun allows you to set up an environment that can be loaded in this way: envs.nix: { gcc = myEnvRun { name = "gcc"; buildInputs = [ gcc ]; }; } $ nix-run -A gcc envs.nix You end up directly in your environment without having to do nix-env -i. You will always have a fresh environment and you don't have to pollute you profile with a lot of env packages.
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions