mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-26 04:25:11 -06:00
services: gitolite-rc-file-compiler: Set mode of the generated file.
Copied over from the official configuration file, this sets a correct major mode when you visit the generated file. * gnu/services/version-control.scm (gitolite-rc-file-compiler): Add local variables. Change-Id: I8a9d794a1e3c7049ae606165cf939d81b5dbdf6e Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
0110eeee0a
commit
70a91c25b8
1 changed files with 5 additions and 1 deletions
|
|
@ -311,7 +311,11 @@ access to exported repositories under @file{/srv/git}."
|
|||
,(if unsafe-pattern
|
||||
(string-append "$UNSAFE_PATT = qr(" unsafe-pattern ");")
|
||||
"")
|
||||
"1;\n"))))
|
||||
"1;\n"
|
||||
"# Local variables:\n"
|
||||
"# mode: perl\n"
|
||||
"# End:\n"
|
||||
"# vim: set syn=perl:\n"))))
|
||||
|
||||
(define-record-type* <gitolite-configuration>
|
||||
gitolite-configuration make-gitolite-configuration
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue