summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-08-09 14:15:53 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-08-09 14:18:20 +0200
commit0b9d9eded15e13079b1f0fef059ecb25bfb308c4 (patch)
treeab39162a67e03e01450e554b5865bf3434e0af2e /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent55d881eea334049dbb6ac10623bb895363857fca (diff)
nixos/version: Try to get Git revison from .git
Let's first try if we can determine the Git revision from the .git directory and if that fails, fall back to get the info from the ".git-revision" file... and after that use something generic like "master". This should address #17218 in better way, because we don't need to create another redundant file in the source checkout of nixpkgs. I'm not going to route of falling back to using .git, because after 55d881e, we already have ".git-revision" files in people's Git repositories, which in turn means that nixos-version will report that old file every time even if the working tree has updated. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @bennofs, Profpatsch Reported-by: @devhell Fixes: #17218
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions