Skip to content

Conversation

bjornfor
Copy link

Change all literal "git", "wc" and "grep" strings throughout gitstats with
corresponding _CMD variables. (Also upper-case existing "gnuplot_cmd"
variable while at it.)

NixOS/nixpkgs1 generally patch programs at build time to call their
CLI deps with absolute paths (meaning: known versions of those deps).
This makes packaging across different unix systems much more reliable.
This patch makes it easier to do that build time patching :-)

Change all literal "git", "wc" and "grep" strings throughout gitstats with
corresponding <PROG>_CMD variables. (Also upper-case existing "gnuplot_cmd"
variable while at it.)

NixOS/nixpkgs[1] generally patch programs at build time to call their
CLI deps with absolute paths (meaning: known versions of those deps).
This makes packaging across different unix systems much more reliable.
This patch makes it easier to do that build time patching :-)

[1]: http://nixos.org/nix/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant