summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2020-01-26guix-install.sh: Correctly treat empty or unset $XDG_DATA_DIRSAlexander Krotov
If $XDG_DATA_DIRS is unset, default value of "/usr/local/share:/usr/share" is used according to XDG Base Directory Specification. However, /etc/profile.d/guix.sh treats this value as empty list when appending its own directory, so after installing Guix on the system, launchers such as Rofi stop searching for .desktop files in /usr/share/applications/ and can't launch applications other than those installed with Guix. This patch fixes the bug in generated /etc/profile.d/guix.sh * etc/guix-install.sh (sys_create_init_profile): Use default value of /usr/local/share:/usr/share/ before appending if $XDG_DATA_DIRS is not set. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-26guix-install.sh: Create /etc/profile.d if it does not existPrafulla Giri
* etc/guix-install.sh (sys_create_init_profile): Add code to create /etc/profile.d if it somehow does not exist; the function still carries on because it is possible that /etc/profile is still configured to read the *.sh files from /etc/profile.d, if they exist. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-26guix-install.sh: Export INFOPATH to contain updated guix info-pagesPrafulla Giri
* etc/guix-install.sh (sys_create_init_profile): Export INFOPATH to include the updated info-pages from ~/.config/guix/current/share/info. This also makes sure that both /usr/bin/info and $GUIX_PROFILE/bin/info can read guix info pages without throwing "no menu item 'guix' in node dir(Top)" error. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-24news: Add ‘nl’ translation.Tobias Geerinckx-Rice
* * etc/news.scm: Add ‘nl’ translation.
2020-01-24news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add 'de' translation.
2020-01-23news: Add entry for Guile 3.0.Ludovic Courtès
* etc/news.scm: Add entry for Guile 3.0.
2020-01-17guix-install.sh: Create an init profile during installationPrafulla Giri
Create an init profile (/etc/profile.d/guix.sh) during installation for better integration with foreign distros. This file, read by login-shells sets a few environment variables (PATH, GUIX_PROFILE, GUIX_LOCALE, along with XDG_DATA_DIRS) and makes guix-installed packages readily available for the users. Other environment variables, as listed by `guix package --search-paths=prefix`, are also exported. Checks are in place to prevent the init profile from needlessly polluting the user's environment. * etc/guix-install.sh (sys_create_init_profile): New function to create /etc/profile.d/guix.sh init profile. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-12news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add 'de' translation.
2019-12-12news: Add entry for "guix challenge --diff".Ludovic Courtès
* etc/news.scm: Add entry for "guix challenge --diff".
2019-12-04guix-install.sh: Use a deterministic umask.Tobias Geerinckx-Rice
Users with strict umasks (e.g. 0077) would end up with an unreadable /gnu (mode 0700) and no way to run guix. Reported by A. <@aaap:matrix.org> on #guix. * etc/guix-install.sh (main): Set umask before installing anything.
2019-11-26guix build, daemon: Rename "--no-build-hook" to "--no-offload".Ludovic Courtès
This is a followup to bc69ea2d605810cc32e13ed03d5848b8dc358b61. * guix/scripts/build.scm (show-build-options-help): Rename "--no-build-hook" to "--no-offload". (%standard-build-options): Likewise, and warn when "--no-build-hook" is passed. * nix/nix-daemon/guix-daemon.cc (options): Add "--no-offload" and mark "--no-build-hook" as hidden. * guix/scripts/offload.scm: Adjust comment. * doc/guix.texi (Invoking guix-daemon, Common Build Options): Replace "--no-build-hook" with "--no-offload". * etc/completion/fish/guix.fish, etc/completion/zsh/_guix: Adjust accordingly.
2019-11-16news: Fix another 'de' translation typo.Florian Pelz
* etc/news.scm: Fix typo.
2019-11-16news: Fix 'de' translation typo.Florian Pelz
* etc/news.scm: Fix typo.
2019-11-15news: Add entry for "guix time-machine".Konrad Hinsen
* etc/news.scm: Add entry for 'guix time-machine'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-09news: Add Spanish translation.Miguel Ángel Arruga Vivas
* etc/news.scm: Add spanish translation. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-08news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add new 'de' translation.
2019-11-07news: Add entry for package transformation options in "guix graph".Ludovic Courtès
* etc/news.scm: Add entry for "guix graph --with-input".
2019-11-02news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add 'de' translation.
2019-10-28news: Fix typo.Tobias Geerinckx-Rice
Reported by Eric Bavier <ericbavier@centurylink.net>. * etc/news.scm: Fix typo in English title of latest news item.
2019-10-27news: Add entry for /etc/guix/channels.scm.Ludovic Courtès
* etc/news.scm: Add entry to /etc/guix/channels.scm.
2019-10-18news: Add CVE ID.Ludovic Courtès
* etc/news.scm: Add CVE ID for insecure permissions entry.
2019-10-17news: Fix 'de' translation.Florian Pelz
* etc/news.scm: Add new 'de' translation.
2019-10-16news: Fix ‘nl’ translation typo.Tobias Geerinckx-Rice
* etc/news.scm: Fix typo.
2019-10-16news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add new 'de' translation. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-10-16news: Add 'fr' translation.Julien Lepiller
* etc/news.scm: Add 'fr' translation.
2019-10-16news: Add 'nl' translation.Tobias Geerinckx-Rice
* etc/news.scm: Add 'nl' translation.
2019-10-16news: Add entry for security issue with /var/guix/profiles/per-user.Ludovic Courtès
* etc/news.scm: Add entry for security issue in multi-user setups.
2019-09-28nls: Add ‘nl’ translation of news entries.Tobias Geerinckx-Rice
* etc/news.scm: Add ‘nl’ translations.
2019-09-27nls: Update 'de' translation of news entries.Florian Pelz
* etc/news.scm: Improve 'de' translation for news entries.
2019-09-27nls: Update 'de' translation of news entries.Florian Pelz
* etc/news.scm: Add 'de' translation for news entry titles.
2019-09-26nls: Update 'fr' translation of news entries.Julien Lepiller
* etc/news.scm: Add more 'fr' translations.
2019-09-24nls: Update 'de' translation of news entries.Florian Pelz
* etc/news.scm: Add more 'de' translations.
2019-09-24news: Add entry for the glibc upgrade.Ludovic Courtès
* etc/news.scm: Add entry for 5f3f70391809f8791c55c05bd1646bc58508fa2c.
2019-09-24news: Add entry for the reduced binary seed bootstrap.Ludovic Courtès
* etc/news.scm: Add entry for cdd3bcf03883d129581a79e6d6611b2afd3b277b.
2019-09-23etc: Add channel news file.Ludovic Courtès
* etc/news.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
2019-09-08etc: Remove references to libexec/guix* from SELinux policy.Ludovic Courtès
* etc/guix-daemon.cil.in: Remove references to libexec/guix*.
2019-09-05guix-install.sh: Work around locale issues in 'guix-daemon.service'.Ludovic Courtès
* etc/guix-install.sh (sys_enable_guix_daemon): Modify 'guix-daemon.service' to work around locale issues not fixed in 1.0.1.
2019-07-08guix-install.sh: Don't initialise ~/.gnupg.Tobias Geerinckx-Rice
* etc/guix-install.sh (chk_gpg_keyring): Call gpg with ‘--dry-run’.
2019-07-08guix-install.sh: Check for PGP key separately.Tobias Geerinckx-Rice
* etc/guix-install.sh (chk_gpg_keyring): New function to handle the public key check previously stuffed into chk_require. (main): Call it.
2019-07-08guix-install.sh: Add missing ‘local’ declaration.Tobias Geerinckx-Rice
* etc/guix-install.sh (chk_require): Make $c local.
2019-07-08guix-install.sh: Treat REQUIRE as the array it is.Tobias Geerinckx-Rice
Don't flatten it into a string only to split it again later. * etc/guix-install.sh (chk_require): Iterate over array elements, not string tokens. (main): Pass $REQUIRE as an array of arguments.
2019-07-01etc: Do not recommend use of SKS key servers.Ricardo Wurmus
* etc/guix-install.sh: Recommend downloading the GPG key from Savannah.
2019-06-29etc: Remove hydra.gnu.org.pub key.Tobias Geerinckx-Rice
* etc/substitutes/hydra.gnu.org.pub: Delete file. * guix/self.scm (miscellaneous-files): Don't install it. * Makefile.am (dist_pkgdata_DATA): Remove it. * gnu/services/base.scm (%default-authorized-guix-keys): Likewise. (hydra-key-authorization): Rename to… (substitute-key-authorization): …this. Adjust only call site.
2019-06-29guix-install.sh: Don't authorise hydra.gnu.org.Tobias Geerinckx-Rice
* etc/guix-install.sh (sys_authorize_build_farms): Authorise only ci.guix.gnu.org and make all references to it singular.
2019-06-05etc: Fix GUIX_LOCPATH quoting in 'guix-publish.service' file.Jack Hill
This is a followup to 579d17b70dac067f8194ede46513400b91ac136a. * etc/guix-publish.service.in (Environment): Move GUIX_LOCPATH inside the quotes.
2019-06-05etc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting.Jack Hill
Fixes <https://bugs.gnu.org/36074>. * etc/guix-daemon.service.in: Move the GUIX_LOCPATH environment variable name inside the quotes. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-05-13Set 'LC_ALL=en_US.utf8' in systemd '.service' files.Ludovic Courtès
Fixes <https://bugs.gnu.org/35671>. * etc/guix-daemon.service.in (Environment): Quote the 'GUIX_LOCPATH' value; add 'LC_ALL'. * etc/guix-publish.service.in (Environment): Likewise.
2019-05-10etc: Refer to ci.guix.gnu.org in install script.Ricardo Wurmus
* etc/guix-install.sh: Replace reference to ci.guix.info with ci.guix.gnu.org.
2019-05-09Add (guix bzr-download).Maxim Cournoyer
* guix/bzr-download.scm, guix/build/bzr.scm, etc/snippets/scheme-mode/guix-bzr-reference: New files. * Makefile.am (MODULES): Add them. * etc/snippets/scheme-mode/guix-origin: Add "bzr-fetch" to the origin choices.
2019-05-02guix-install.sh: Update URL.Ludovic Courtès
* etc/guix-install.sh (GNU_URL): Change to ftp.gnu.org.