summary refs log tree commit diff
path: root/etc
AgeCommit message (Collapse)Author
2022-12-16guix-install.sh: Directly exit in case of errors in chk_require.Maxim Cournoyer
* etc/guix-install.sh (chk_require): Directly exit in case of errors in chk_require, instead of relying on 'set -e'.
2022-12-16guix-install.sh: Add missing "useradd" command.Maxim Cournoyer
* etc/guix-install.sh: (REQUIRE): Add missing "useradd" command.
2022-12-11guix-install.sh: Gracefully fail on | bash.Tobias Geerinckx-Rice
* etc/guix-install.sh (welcome): Print an error message and a hint if the first read fails.
2022-12-11news: Fix typos in French text.Vivien Kraus via Guix-patches via
* etc/news.scm: Fix typos. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-12-10news: Add 'fr' translation.Julien Lepiller
* etc/news.scm: Add French translation of 'customize-linux' entry.
2022-12-09guix-install.sh: Authorize all project build farms at once.Tobias Geerinckx-Rice
* etc/guix-install.sh (sys_authorize_build_farms): Iterate over all hosts. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-12-09teams: science: Add modules to the scope.Sharlatan Hellseher
* etc/teams.scm.in (science): Add algebra, astronomy, geo, chemestry, maths modules to the scope. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2022-12-08news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of 'customize-linux' entry.
2022-12-07news: Add entry for 'customize-linux'.Maxim Cournoyer
* etc/news.scm: Add entry.
2022-12-05Merge branch 'version-1.4.0'Ludovic Courtès
2022-11-28maint: Leave 'gcc-toolchain' out for i586-gnu.Ludovic Courtès
This is a temporary measure to work around the fact that we're currently lacking the necessary CPU power and human power to build everything up to 'gcc-toolchain'. * etc/release-manifest.scm (%base-packages/hurd): Comment out "gcc-toolchain" for now.
2022-12-02etc: teams: Add chez.scm to Racket team's scope.Philip McGrath
Racket's variant of Chez Scheme is defined in that file. * etc/teams.scm.in (racket)[#:scope]: Add gnu/packages/chez.scm. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-28snippets: yas: Add snippets for vc.elMorgan Smith
* etc/snippets/yas/log-edit-mode/guix-vc-commit-message-add-package: * etc/snippets/yas/log-edit-mode/guix-vc-commit-message-remove-package: * etc/snippets/yas/log-edit-mode/guix-vc-commit-message-rename-package: * etc/snippets/yas/log-edit-mode/guix-vc-commit-message-update-package: * etc/snippets/yas/log-edit-mode/guix-vc-commit-message-use-https-home-page: New file Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-16guix-install.sh: Expand mktemp template for busybox compatibility.Maxim Cournoyer
Fixes <https://issues.guix.gnu.org/58858>. * etc/guix-install.sh (main): Use 6 'X' characters in the template, as this is the minimum required by Busybox's mktemp (which matches glibc's mktemp behavior). Reported-by: conses <contact@conses.eu>
2022-11-16news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of '--symlink' entry.
2022-11-15news: Add entry for 'guix shell --symlink'.Maxim Cournoyer
* etc/news.scm: Add entry.
2022-11-15etc/news.scm: Normalize indentation.Maxim Cournoyer
* etc/news.scm: Normalize indentation.
2022-11-14guix-install.sh: Remove unnecessary XDG_DATA_DIRS export.Prafulla Giri
This started out as a bug-fix for a GUI login loop that was resulting from XDG_DATA_DIRS not including any of the host distro's directories. The solution was to export the vari- able (with fail-safe defaults) before source-ing GUIX_PROFILE/etc/profile. It turns out changes have already been made to ensure that XDG_DATA_DIRS, etc. are always exported before anything guix-specific. So, this export is no longer necessary. For reference, the aforementioned bug was found on a Debian 11 machine and it's guix.sh init profile for guix version 1.2. * etc/guix-install.sh (sys_create_init_profile): Remove unnecessary XDG_DATA_DIRS export. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2022-11-12teams: Add Raghav Gururajan.Raghav Gururajan
* etc/teams.scm.in: Add Raghav Gururajan.
2022-11-12Revert "teams: Add Raghav Gururajan."Raghav Gururajan
This reverts commit 56aebf7f7cbb3781c3f470902f43b361f85cba3e.
2022-11-12teams: Add Raghav Gururajan.Raghav Gururajan
* etc/teams.scm.in: Add Raghav Gururajan.
2022-11-09etc: teams: List teams sorted by id.zimoun
* etc/teams.scm.in (list-teams): Sort teams by id. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-11-09etc: teams: List members sorted by name.zimoun
* etc/teams.scm.in (list-members): Sort by name. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-11-08guix-install.sh: Run guix.sh script in /etc/profile.d last.Konrad Hinsen
* etc/guix-install.sh: Rename /etc/profile.d/guix.sh to zzz-guix.sh. This script refers to environment variables set by the host distribution. They may be set in other scripts in /etc/profile.d, which must therefore be run first. Example: in Ubuntu 20.04, XDG_DATA_DIRS is set in /etc/profile.d/xdg_dirs_desktop_session.sh Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-11-07news: Update 'de', 'fr', 'pt_BR' translation.Florian Pelz
* etc/news.scm: Add the usual translations for kernel news.
2022-11-06news: Add entry about the update of the 'linux-libre' package.Leo Famulari
* etc/news.scm: Add entry.
2022-11-06etc: teams: Add pyproject-build-system to python scope.jgart
* etc/teams.scm.in (python): Add guix/build/pyproject-build-system.scm and guix/build-system/pyproject.scm to python team's scope. Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-05news: Add 'pt' translation.Thiago Jung Bauermann
* etc/news.scm: Add Portuguese translation of entry about pyproject-build-system. Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-11-03etc: teams: Add help information for commands.Antero Mejr
* etc/teams.scm.in (main): Add command information to usage help prompt. Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-23etc: systemd services shouldn't ‘RemainAfterExit’.Tobias Geerinckx-Rice
* etc/guix-daemon.service.in (RemainAfterExit): Don't. * etc/guix-publish.service.in (RemainAfterExit): Likewise don't.
2022-10-23etc: Add ‘Restart=always’ to both systemd services.Tobias Geerinckx-Rice
* etc/guix-daemon.service.in (Restart): ‘Always’ do. * etc/guix-publish.service.in (Restart): Likewise.
2022-10-23etc: Add ‘OOMPolicy=continue’ to guix-daemon.service.Tobias Geerinckx-Rice
* etc/guix-daemon.service.in (OOMPolicy): Continue.
2022-10-27news: Add entry for 'pyproject-build-system'.Marius Bakke
* etc/news.scm: Add entry. Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de> Co-authored-by: Julien Lepiller <julien@lepiller.eu>
2022-10-25maint: Tweak release manifest special case for armhf-linux.Christopher Baines
Don't remove the emacs package, as it does build and substitutes are available. Do remove the guix package though, as it doesn't build due to Guile memory issues while compiling the package modules. * etc/release-manifest.scm (%base-packages/armhf): Don't replace the emacs package, remove the guix package. (%base-manifest): Remove FIXME comment as %base-packages/armhf doesn't relate to build power.
2022-10-22snippets: Harden for review activity.Liliana Marie Prikler
When reviewing patches, whose commit logs don't follow the structure outlined in “Submitting Patches”, a reviewer might be tempted to use snippets to rewrite them. This makes it so that their attempt, while not immediately succeeding, isn't completely thwarted. * etc/snippets/tempel/text-mode (add\ , remove\ , rename\ , update\ ) (addcl\ , https\ ): Use an empty "p" field if (car (magit-staged-files)) fails.
2022-10-16guix-install.sh: Cosmetically tweak non-interactive output.Tobias Geerinckx-Rice
Avoid printing Press return to continue...[1666352494.051]: Starting installation… [1666352648.869]: … when the return itself wasn't echoed on the console. * etc/guix-install.sh (welcome): Add a carriage return to the prompt, so that the next line of output may overwrite it.
2022-10-16guix-install.sh: Warn if we suspect dodgy automation.Tobias Geerinckx-Rice
This doesn't affect the installation (yet), but reserves the right to default to safe values other than ‘y’ in future. * etc/guix-install.sh (welcome): Warn if the ‘return’ wasn't.
2022-10-16guix-install.sh: Treat all uncaught errors as fatal.Tobias Geerinckx-Rice
* etc/guix-install.sh: Set -o pipefail.
2022-10-16guix-install.sh: Suggest what to do if fetching OpenPGP key(s) fails.Tobias Geerinckx-Rice
* etc/guix-install.sh (chk_gpg_keyring): Report an _err and set the exit_flag if wget | gpg --import fails.
2022-10-16guix-install.sh: Time out fetching OpenPGP keys.Tobias Geerinckx-Rice
The default 900s provide no useful backstop in interactive use. * etc/guix-install.sh (chk_gpg_keyring): Add a 30s wget --timeout.
2022-10-17news: Add 'pt' translation.Thiago Jung Bauermann
* etc/news.scm: Add Portuguese translation of entry about the new --emulate-fhs option. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-10-14news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of '--emulate-fhs' entry.
2022-10-13news: Add entry for 'guix shell --emulate-fhs'.Ludovic Courtès
* etc/news.scm: Add entry.
2022-10-11guix-install.sh: Restore compatibility with "yes" invocation.Maxim Cournoyer
Commit 6a2e303d3a had modified prompt_yes_no to only read a single character, aiming to ease the user experience. This was, in retrospect, a bad idea, as it makes user input error more likely and introduces complexity. This commit reverts to line-oriented input, while preserving the default yes value so that a user can simply hit 'Enter' at the prompt in place of typing "yes". * etc/guix-install.sh (_flush): Delete function. (prompt_yes_no): Restore line-oriented read. Remove loop. Make anything else than yes means no. Use Bash features to streamline definition. Reported-by: Lars-Dominik Braun <lars@6xq.net> and others.
2022-10-07guix-install.sh: Add Bash prompt customization option.Maxim Cournoyer
Fixes <https://issues.guix.gnu.org/55484>. * etc/guix-install.sh (sys_customize_bashrc): New function. (main): Use it.
2022-10-07guix-install.sh: Introduce 'die' utility function.Maxim Cournoyer
* etc/guix-install.sh (die): New function. (chk_sys_arch): Use it. (guix_get_bin_list, guix_get_bin, sys_create_store): Likewise.
2022-10-07guix-install.sh: Improve prompt_yes_no procedure.Maxim Cournoyer
* etc/guix-install.sh (_flush): New function. (prompt_yes_no): Clear input, then only read the first character, silently. Add the [Yes/no] string to the message. When a newline is entered by the user, treat it as the default value, which is "yes". (chk_gpg_keyring): Remove "(yes/no)" from the prompt message. (configure_substitute_discovery): Likewise. (sys_authorize_build_farms): Likewise.
2022-10-06snippets: Fix move.Liliana Marie Prikler
The current move is never correct. It flip-flops between car and cadr for the destination. Since the position of the destination is not actually a fixed point in the list of changes, use a more robust method of inferring it. * etc/snippets/tempel/text-mode (move\ ): Infer source and destination from washed diffs. Process new module before destination.
2022-10-06snippets: tempel: Reformat.Liliana Marie Prikler
This makes it so that ‘indent-region’ and ‘delete-trailing-whitespace’ do not change the file. * etc/snippets/tempel/text-mode: Reformat.
2022-10-06snippets: tempel: Fix calls to mapconcat.Liliana Marie Prikler
* etc/snippets/tempel/text-mode (update\ ,https\ ): Add "\n" as separator argument to mapconcat.