summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* bash completion: Complete files names after 'guix download'.Marius Bakke2017-08-221-0/+3
| | | | | * etc/completion/bash/guix (_guix_complete): When the command is "download", use __guix_complete_file.
* Remove task from 'guix-daemon.conf'.Christopher Baines2017-07-151-2/+0
| | | | | | | | | The 'task' means that events that led to this job starting will be blocked until it has stopped. Tasks are short lived jobs, whereas the guix-daemon is a long lived service. Including 'task' means that attempts to start the guix-daemon appear to hang, as upstart waits for it to exit. * etc/guix-daemon.conf.in: Remove 'task'.
* etc: indent-code.el: Define source tree by "indent-code.el".Alex Kost2017-05-041-2/+2
| | | | | | * etc/indent-code.el.in: Set default directory by "indent-code.el" itself, otherwise it works only when called from the top directory of the guix source tree.
* Increase "TasksMax" in 'guix-daemon.service'.Sergei Trofimovich2017-04-221-1/+3
| | | | | | * etc/guix-daemon.service.in (TasksMax): Increase to 8192. Signed-off-by: Leo Famulari <leo@famulari.name>
* build: Don't embed absolute paths in .service and .conf service files.Leo Famulari2017-03-064-4/+4
| | | | | | | | | | Otherwise, users will be stuck running an old copy of guix and the guix-daemon if they copy the service files instead of symlinking them. * etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/guix-publish.conf.in, etc/guix-publish.service.in: Expand @localstatedir@ instead of @bindir@. * nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Use @localstatedir@ instead of @bindir@.
* etc: The pre-push hook says which commits failed the signature check.Leo Famulari2017-02-081-5/+17
| | | | | * etc/git/pre-push: Check each commit's signature individually so that we can report which commits fail the check.
* bash completion: Complete subcommands for the current word.Ludovic Courtès2017-02-071-1/+1
| | | | | * etc/completion/bash/guix (_guix_complete_subcommand): Refer to the $COMP_CWORD element instead of the last element.
* bash completion: Properly complete 'guix container exec'.Ludovic Courtès2017-02-071-0/+13
| | | | | * etc/completion/bash/guix (_guix_complete_pid): New function. (_guix_complete): Add case for "container".
* bash completion: Complete file names after 'guix system COMMAND'.Ludovic Courtès2017-02-071-1/+4
| | | | | * etc/completion/bash/guix (_guix_complete): When the command is "system" and $COMP_CWORD > 2, use _guix_complete_file.
* bash completion: Complete 'guix gc' with file names.Ludovic Courtès2017-02-071-2/+2
| | | | | | | Reported by a couple of cool folks at a bar in Brussels. * etc/completion/bash/guix (_guix_complete): Use '_guix_complete_file' for 'guix gc'. This fixes completion of 'guix gc -d'.
* etc: indent-code.el: Add indentation info for non-Guix Scheme constructs.Ludovic Courtès2017-01-201-0/+52
| | | | | * etc/indent-code.el.in (guix-syntax--scheme-indent): New macro. Use it.
* etc: Support indentation of whole files.Ludovic Courtès2017-01-131-5/+14
| | | | | | | * etc/indent-package.el.in: Rename to... * etc/indent-code.el.in: ... this. Add case for a single argument. * doc/contributing.texi (Formatting Code): Adjust accordingly. * configure.ac: Likewise.
* etc: Add 'indent-package.el' script.Ludovic Courtès2017-01-121-0/+53
| | | | | | | | | | | * configure.ac: Check for 'emacs', substitute 'EMACS', and emit 'etc/indent-package.el'. * etc/indent-package.el.in: New file. * doc/contributing.texi (Formatting Code): Mention 'etc/indent-package.el'. (Submitting Patches): Likewise, and link to the above node. Co-authored-by: Alex Kost <alezost@gmail.com>
* doc: Add a Git hook that verifies signatures before pushing.Leo Famulari2017-01-041-0/+57
| | | | | * HACKING (Commit Access): Describe the pre-push Git hook. * etc/git/pre-push: New file.
* Add system start-up files for "guix publish".Hartmut Goebel2016-11-242-0/+31
| | | | | | | | | | | | | * .gitignore: add etc/guix-publish.conf and /etc/guix-publish.service. * etc/guix-publish.conf.in: New file. * etc/guix-publish.service.in: New file. * nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Generalized former build-rules for by using patterns. (nodist_systemdservice_DATA): Add etc/guix-publish.service, update comment. (nodist_upstartjob_DATA): Add etc/guix-publish.conf, update comment. * doc/guix.texi (Invoking guix publish): Add description for enabling "guix publish" on host distros using the new files.
* bash completion: Complete subcommands and their options.Ludovic Courtès2016-09-071-7/+21
| | | | | | | * etc/completion/bash/guix (_guix_complete_subcommand): New function. (_guix_complete_option): Allow completion of subcommand options. (_guix_complete): Use '_guix_complete_subcommand' for "system" and "import".
* bash completion: Redirect 'guix' stderr to /dev/null.Ludovic Courtès2016-09-071-6/+9
| | | | | | | | This avoids spurious messages when pressing TAB. * etc/completion/bash/guix (_guix_complete_available_package) (_guix_complete_installed_package, _guix_complete_option) (_guix_complete): Redirect stderr to /dev/null when running 'guix'.
* Add Zsh completion file.Eric Le Bihan2016-09-071-0/+456
| | | | | | | | * etc/completion/zsh/_guix: New file. * Makefile.am (dist_zshcompletion_DATA): New variable. * configure.ac: Add --with-zsh-completion-dir. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* Set "GUIX_LOCPATH" in 'guix-daemon.service'.Ricardo Wurmus2016-07-181-0/+1
| | | | | | Suggested by Thomas Danckaert <thomas.danckaert@gmail.com>. * etc/guix-daemon.service.in (Environment): New value.
* Add "TasksMax=1024" in 'guix-daemon.service'.Ludovic Courtès2016-04-251-0/+3
| | | | | | Suggested by Joram Schrijver <i+guix-devel@joram.io>. * etc/guix-daemon.service.in (TasksMax): New value.
* Add 'guix-daemon.conf' job for Upstart.Mario Daniel Ruiz Saavedra2015-11-261-0/+12
| | | | | | | | | | | | * etc/guix-daemon.conf.in: New file. * daemon.am (CLEANFILES): Add etc/guix-daemon.conf. (upstartjobdir, nodist_upstartjob_DATA): New variables. (EXTRA_DIST): Add etc/guix-daemon.conf.in. * doc/guix.texi (Binary Installation, Build Environment Setup): Mention 'guix-daemon.conf'. Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes@rocketmail.com> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* bash completion: Cache the list of subcommands and available packages.Ludovic Courtès2015-08-201-4/+19
| | | | | | | * etc/completion/bash/guix (_guix_complete_available_package): Cache the list of available packages in '_guix_available_packages' and use it. (_guix_complete): Cache the list of subcommands in '_guix_subcommands' and use it.
* Add 'guix-daemon.service' file for systemd.Ludovic Courtès2015-07-151-0/+15
| | | | | | | | | * etc/guix-daemon.service.in: New file, provided by Ricardo Wurmus. * daemon.am (CLEANFILES): Add etc/guix-daemon.service. (systemdservicedir, nodist_systemdservice_DATA): New variables. (EXTRA_DIST): Add etc/guix-daemon.service.in. * doc/guix.texi (Binary Installation, Build Environment Setup): Mention 'guix-daemon.service'.
* bash completion: Complete long options with no short variant.Ludovic Courtès2015-05-011-1/+1
| | | | | * etc/completion/bash/guix (_guix_complete_option): Change grep regexp to match options that don't have a short option name.
* Add Bash completion file.Ludovic Courtès2015-04-091-0/+139
* etc/completion/bash/guix: New file. * Makefile.am (dist_bashcompletion_DATA): New variable. * configure.ac: Add --with-bash-completion-dir.