summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-01-29 16:20:22 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-01-29 16:33:19 +0100
commitae466ba15c2f74cdd621a4fb548813b30cc524e4 (patch)
tree594f29eaece593b66947eab01492a5071aeb1898 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parenta581f72f222043936e78d1fe8ad09380c46bfa53 (diff)
nixos-manual: Simplify stripping prefixes
Let's use a simple (unflipped) fold and break out the actual core stripPrefix function from stripAnyPrefixes (I personally love point-less^H^H^H^Hfree style but if I'd be anal I'd even go further and factor away the "fn:"). Also, let's use path as a better name for "fn" (filename), because that's what it is and also cannot be confused with "fn" meaning "function". We now toString all of the prefixes, so there shouldn't be any need to implicily toString the extraSources anymore. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions