forked from clan/clan-core
devshell: fix linking pre-commit
This commit is contained in:
parent
6f22717ffd
commit
3ea17e1566
@ -15,7 +15,7 @@
|
|||||||
self'.packages.merge-after-ci
|
self'.packages.merge-after-ci
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
ln -sf ../../scripts/pre-commit .git/hooks/pre-commit
|
ln -sf ../../scripts/pre-commit "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user