# HG changeset patch # User Martin Bornhold # Date 2016-10-13 10:13:54 # Node ID ea99aabbea8af09ddf069a42b5db06af6ce4a291 # Parent f81f2554c6d2a197f91261577381ce7101e0f01c nix: Add PATH of vcsserver derivation to wrapping of other executables. The other executables like pserve or gunicorn need the same path as the vcsserver command uses. Otherwise they e.g. find different versions of git. System git versus custom git in nix-store. diff --git a/default.nix b/default.nix --- a/default.nix +++ b/default.nix @@ -133,6 +133,7 @@ let for file in $out/bin/*; do wrapProgram $file \ + --prefix PATH : $PATH \ --prefix PYTHONPATH : $PYTHONPATH \ --set PYTHONHASHSEED random done