summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2022-10-07 13:26:12 -0400
committerRebecca Turner <rbt@sent.as>2022-10-07 13:38:15 -0400
commit5a01cf108466331a3223bbcc3afc7d014b18d351 (patch)
treee421fb0544e2368158527358a2b93fd0f92188ff /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent4e43b16917b2d699ffd329bd7a4b5def0681062b (diff)
pre-commit: use absolute path for binary in hook
This changes the generated Git hook to refer to the `pre-commit` binary by its absolute path. This means that Git hooks created with `nix-shell --run 'pre-commit install'` or similar will be usable outside of the Nix shell they were created in. I think this is the intended behavior for this package, considering that the `postPatch` phase already includes a substitution for this variable, otherwise unused: substituteInPlace pre_commit/resources/hook-tmpl \ --subst-var-by pre-commit $out
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions