Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare all CLI prog deps with <PROG>_CMD variables #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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