aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/topo-sort.hh
diff options
context:
space:
mode:
authorstuebinm <stuebinm@disroot.org>2024-05-27 22:09:57 +0200
committerstuebinm <stuebinm@disroot.org>2024-05-27 22:09:57 +0200
commit7a12bc2007accb5022037b5a04b0e5475a8bb409 (patch)
tree285249d5c937418245fa96e8ead751e1001bbced /src/libutil/topo-sort.hh
parent2cd1ef2201cd046cbf041b52040c6e86efd927d8 (diff)
package: don't run shellHook in nested nix-shells
If a nested nix-shell is run inside a nix-shell, then the outer shell's shellHook will be passed through and run again, unless the nested shell defines its own. With lix's hook, this can be annoying: forgetting to exit its nix-shell, cd'ing to another repository & entering a nested nix-shell will happily install lix's pre-commit hook in it. This change makes lix's hook return early in such cases. Change-Id: I91cb6eb6668f3a8eace36ecbdb01eb367861d77b
Diffstat (limited to 'src/libutil/topo-sort.hh')
0 files changed, 0 insertions, 0 deletions