forked from lix-project/lix
Compare commits
1 commit
main
...
sb/arcuru/
Author | SHA1 | Date | |
---|---|---|---|
Patrick Jackson | 268a411ed1 |
|
@ -503,6 +503,13 @@
|
||||||
if ! [[ -f .nocontribmsg ]]; then
|
if ! [[ -f .nocontribmsg ]]; then
|
||||||
cat ${contribNotice}
|
cat ${contribNotice}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Install the Gerrit commit-msg hook.
|
||||||
|
if [[ ! -f .git/hooks/commit-msg ]]; then
|
||||||
|
mkdir -p .git/hooks
|
||||||
|
curl -s -Lo .git/hooks/commit-msg https://gerrit.lix.systems/tools/hooks/commit-msg
|
||||||
|
chmod u+x .git/hooks/commit-msg
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs (stdenv.buildPlatform.isLinux && pkgs.glibcLocales != null) {
|
// lib.optionalAttrs (stdenv.buildPlatform.isLinux && pkgs.glibcLocales != null) {
|
||||||
|
|
Loading…
Reference in a new issue