aboutsummaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Expand)Author
2020-01-26guix-install.sh: Correctly treat empty or unset $XDG_DATA_DIRS...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> Alexander Krotov
2020-01-26guix-install.sh: Create /etc/profile.d if it does not exist...* 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> Prafulla Giri
2020-01-26guix-install.sh: Export INFOPATH to contain updated guix info-pages...* 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> Prafulla Giri
2020-01-24news: Add ‘nl’ translation....* * etc/news.scm: Add ‘nl’ translation. Tobias Geerinckx-Rice
2020-01-24news: Add 'de' translation....* etc/news.scm: Add 'de' translation. Florian Pelz
2020-01-23news: Add entry for Guile 3.0....* etc/news.scm: Add entry for Guile 3.0. Ludovic Courtès
2020-01-17guix-install.sh: Create an init profile during installation...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> Prafulla Giri
2019-12-12news: Add 'de' translation....* etc/news.scm: Add 'de' translation. Florian Pelz
2019-12-12news: Add entry for "guix challenge --diff"....* etc/news.scm: Add entry for "guix challenge --diff". Ludovic Courtès
2019-12-04guix-install.sh: Use a deterministic umask....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. Tobias Geerinckx-Rice
2019-11-26guix build, daemon: Rename "--no-build-hook" to "--no-offload"....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. Ludovic Courtès
2019-11-16news: Fix another 'de' translation typo....* etc/news.scm: Fix typo. Florian Pelz
2019-11-16news: Fix 'de' translation typo....* etc/news.scm: Fix typo. Florian Pelz
2019-11-15news: Add entry for "guix time-machine"....* etc/news.scm: Add entry for 'guix time-machine'. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Konrad Hinsen
2019-11-09news: Add Spanish translation....* etc/news.scm: Add spanish translation. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Miguel Ángel Arruga Vivas
2019-11-08news: Add 'de' translation....* etc/news.scm: Add new 'de' translation. Florian Pelz
2019-11-07news: Add entry for package transformation options in "guix graph"....* etc/news.scm: Add entry for "guix graph --with-input". Ludovic Courtès
2019-11-02news: Add 'de' translation....* etc/news.scm: Add 'de' translation. Florian Pelz
2019-10-28news: Fix typo....Reported by Eric Bavier <ericbavier@centurylink.net>. * etc/news.scm: Fix typo in English title of latest news item. Tobias Geerinckx-Rice
2019-10-27news: Add entry for /etc/guix/channels.scm....* etc/news.scm: Add entry to /etc/guix/channels.scm. Ludovic Courtès
2019-10-18news: Add CVE ID....* etc/news.scm: Add CVE ID for insecure permissions entry. Ludovic Courtès
2019-10-17news: Fix 'de' translation....* etc/news.scm: Add new 'de' translation. Florian Pelz
2019-10-16news: Fix ‘nl’ translation typo....* etc/news.scm: Fix typo. Tobias Geerinckx-Rice
2019-10-16news: Add 'de' translation....* etc/news.scm: Add new 'de' translation. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Florian Pelz
2019-10-16news: Add 'fr' translation....* etc/news.scm: Add 'fr' translation. Julien Lepiller
2019-10-16news: Add 'nl' translation....* etc/news.scm: Add 'nl' translation. Tobias Geerinckx-Rice
2019-10-16news: Add entry for security issue with /var/guix/profiles/per-user....* etc/news.scm: Add entry for security issue in multi-user setups. Ludovic Courtès
2019-09-28nls: Add ‘nl’ translation of news entries....* etc/news.scm: Add ‘nl’ translations. Tobias Geerinckx-Rice
2019-09-27nls: Update 'de' translation of news entries....* etc/news.scm: Improve 'de' translation for news entries. Florian Pelz
2019-09-27nls: Update 'de' translation of news entries....* etc/news.scm: Add 'de' translation for news entry titles. Florian Pelz
2019-09-26nls: Update 'fr' translation of news entries....* etc/news.scm: Add more 'fr' translations. Julien Lepiller
2019-09-24nls: Update 'de' translation of news entries....* etc/news.scm: Add more 'de' translations. Florian Pelz
2019-09-24news: Add entry for the glibc upgrade....* etc/news.scm: Add entry for 5f3f70391809f8791c55c05bd1646bc58508fa2c. Ludovic Courtès
2019-09-24news: Add entry for the reduced binary seed bootstrap....* etc/news.scm: Add entry for cdd3bcf03883d129581a79e6d6611b2afd3b277b. Ludovic Courtès
2019-09-23etc: Add channel news file....* etc/news.scm: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès
2019-09-08etc: Remove references to libexec/guix* from SELinux policy....* etc/guix-daemon.cil.in: Remove references to libexec/guix*. Ludovic Courtès
2019-09-05guix-install.sh: Work around locale issues in 'guix-daemon.service'....* etc/guix-install.sh (sys_enable_guix_daemon): Modify 'guix-daemon.service' to work around locale issues not fixed in 1.0.1. Ludovic Courtès
2019-07-08guix-install.sh: Don't initialise ~/.gnupg....* etc/guix-install.sh (chk_gpg_keyring): Call gpg with ‘--dry-run’. Tobias Geerinckx-Rice
2019-07-08guix-install.sh: Check for PGP key separately....* etc/guix-install.sh (chk_gpg_keyring): New function to handle the public key check previously stuffed into chk_require. (main): Call it. Tobias Geerinckx-Rice
2019-07-08guix-install.sh: Add missing ‘local’ declaration....* etc/guix-install.sh (chk_require): Make $c local. Tobias Geerinckx-Rice
2019-07-08guix-install.sh: Treat REQUIRE as the array it is....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. Tobias Geerinckx-Rice
2019-07-01etc: Do not recommend use of SKS key servers....* etc/guix-install.sh: Recommend downloading the GPG key from Savannah. Ricardo Wurmus
2019-06-29etc: Remove hydra.gnu.org.pub key....* 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. Tobias Geerinckx-Rice
2019-06-29guix-install.sh: Don't authorise hydra.gnu.org....* etc/guix-install.sh (sys_authorize_build_farms): Authorise only ci.guix.gnu.org and make all references to it singular. Tobias Geerinckx-Rice
2019-06-05etc: Fix GUIX_LOCPATH quoting in 'guix-publish.service' file....This is a followup to 579d17b70dac067f8194ede46513400b91ac136a. * etc/guix-publish.service.in (Environment): Move GUIX_LOCPATH inside the quotes. Jack Hill
2019-06-05etc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting....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> Jack Hill
2019-05-13Set 'LC_ALL=en_US.utf8' in systemd '.service' files....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. Ludovic Courtès
2019-05-10etc: Refer to ci.guix.gnu.org in install script....* etc/guix-install.sh: Replace reference to ci.guix.info with ci.guix.gnu.org. Ricardo Wurmus
2019-05-09Add (guix bzr-download)....* 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. Maxim Cournoyer
2019-05-02guix-install.sh: Update URL....* etc/guix-install.sh (GNU_URL): Change to ftp.gnu.org. Ludovic Courtès