Commit graph

101 commits

Author SHA1 Message Date
Tobias Geerinckx-Rice
762867313c
news: Add ‘nl’ translation.
* * etc/news.scm: Add ‘nl’ translation.
2020-01-24 18:19:20 +01:00
Florian Pelz
cd17ac4483
news: Add 'de' translation.
* etc/news.scm: Add 'de' translation.
2020-01-24 15:46:24 +00:00
Ludovic Courtès
039cb8e6b1
news: Add entry for Guile 3.0.
* etc/news.scm: Add entry for Guile 3.0.
2020-01-23 23:36:25 +01:00
Prafulla Giri
30810aff71
guix-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>
2020-01-17 17:28:57 +01:00
Florian Pelz
d8421fef1d
news: Add 'de' translation.
* etc/news.scm: Add 'de' translation.
2019-12-12 18:08:56 +00:00
Ludovic Courtès
16b92d0e6e
news: Add entry for "guix challenge --diff".
* etc/news.scm: Add entry for "guix challenge --diff".
2019-12-12 18:17:23 +01:00
Tobias Geerinckx-Rice
32c06affca
guix-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.
2019-12-04 03:59:04 +01:00
Ludovic Courtès
dc209d5a5d
guix build, daemon: Rename "--no-build-hook" to "--no-offload".
This is a followup to bc69ea2d60.

* 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-26 00:16:36 +01:00
Florian Pelz
56d951ab80
news: Fix another 'de' translation typo.
* etc/news.scm: Fix typo.
2019-11-16 10:32:57 +00:00
Florian Pelz
7082fa321d
news: Fix 'de' translation typo.
* etc/news.scm: Fix typo.
2019-11-16 10:25:24 +00:00
Konrad Hinsen
067305977c
news: Add entry for "guix time-machine".
* etc/news.scm: Add entry for 'guix time-machine'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-15 23:29:06 +01:00
Miguel Ángel Arruga Vivas
c52555559a
news: Add Spanish translation.
* etc/news.scm: Add spanish translation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-09 00:36:53 +01:00
Florian Pelz
8f61b53efc
news: Add 'de' translation.
* etc/news.scm: Add new 'de' translation.
2019-11-08 15:23:59 +00:00
Ludovic Courtès
fb936351d3
news: Add entry for package transformation options in "guix graph".
* etc/news.scm: Add entry for "guix graph --with-input".
2019-11-07 18:40:16 +01:00
Florian Pelz
fbdabd7dc0
news: Add 'de' translation.
* etc/news.scm: Add 'de' translation.
2019-11-02 15:09:10 +00:00
Tobias Geerinckx-Rice
6b00a5f4a7
news: Fix typo.
Reported by Eric Bavier <ericbavier@centurylink.net>.

* etc/news.scm: Fix typo in English title of latest news item.
2019-10-28 22:13:00 +01:00
Ludovic Courtès
b13b9384bc
news: Add entry for /etc/guix/channels.scm.
* etc/news.scm: Add entry to /etc/guix/channels.scm.
2019-10-27 23:11:39 +01:00
Ludovic Courtès
a870f20fd8
news: Add CVE ID.
* etc/news.scm: Add CVE ID for insecure permissions entry.
2019-10-18 12:02:52 +02:00
Florian Pelz
d0d900090f
news: Fix 'de' translation.
* etc/news.scm: Add new 'de' translation.
2019-10-17 03:21:28 +00:00
Tobias Geerinckx-Rice
7ecdcf516e
news: Fix ‘nl’ translation typo.
* etc/news.scm: Fix typo.
2019-10-16 23:42:25 +02:00
Florian Pelz
f63e49342b
news: Add 'de' translation.
* etc/news.scm: Add new 'de' translation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-10-16 23:06:05 +02:00
Julien Lepiller
64b151bee3
news: Add 'fr' translation.
* etc/news.scm: Add 'fr' translation.
2019-10-16 23:06:05 +02:00
Tobias Geerinckx-Rice
f0df84607b
news: Add 'nl' translation.
* etc/news.scm: Add 'nl' translation.
2019-10-16 23:06:01 +02:00
Ludovic Courtès
5d800cb931
news: Add entry for security issue with /var/guix/profiles/per-user.
* etc/news.scm: Add entry for security issue in multi-user setups.
2019-10-16 23:05:17 +02:00
Tobias Geerinckx-Rice
3128d6a16a
nls: Add ‘nl’ translation of news entries.
* etc/news.scm: Add ‘nl’ translations.
2019-09-28 00:38:15 +02:00
Florian Pelz
60643d1b19
nls: Update 'de' translation of news entries.
* etc/news.scm: Improve 'de' translation for news entries.
2019-09-27 19:18:31 +00:00
Florian Pelz
82d43b5f8f
nls: Update 'de' translation of news entries.
* etc/news.scm: Add 'de' translation for news entry titles.
2019-09-27 18:51:16 +00:00
Julien Lepiller
fc16ef9d90
nls: Update 'fr' translation of news entries.
* etc/news.scm: Add more 'fr' translations.
2019-09-26 20:51:45 +02:00
Florian Pelz
9841941ac1
nls: Update 'de' translation of news entries.
* etc/news.scm: Add more 'de' translations.
2019-09-24 17:32:32 +00:00
Ludovic Courtès
2cf9798e16
news: Add entry for the glibc upgrade.
* etc/news.scm: Add entry for 5f3f703918.
2019-09-24 14:18:37 +02:00
Ludovic Courtès
8f5e835b0e
news: Add entry for the reduced binary seed bootstrap.
* etc/news.scm: Add entry for cdd3bcf038.
2019-09-24 13:52:24 +02:00
Ludovic Courtès
90ca791ab0
etc: Add channel news file.
* etc/news.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2019-09-23 11:08:09 +02:00
Ludovic Courtès
cc98b00857
etc: Remove references to libexec/guix* from SELinux policy.
* etc/guix-daemon.cil.in: Remove references to libexec/guix*.
2019-09-08 11:49:25 +02:00
Ludovic Courtès
e1e3fe0848
guix-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.
2019-09-05 18:33:30 +02:00
Tobias Geerinckx-Rice
9b2644c292
guix-install.sh: Don't initialise ~/.gnupg.
* etc/guix-install.sh (chk_gpg_keyring): Call gpg with ‘--dry-run’.
2019-07-08 18:16:10 +02:00
Tobias Geerinckx-Rice
5d8e505ce5
guix-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.
2019-07-08 18:16:10 +02:00
Tobias Geerinckx-Rice
7a2e0c52df
guix-install.sh: Add missing ‘local’ declaration.
* etc/guix-install.sh (chk_require): Make $c local.
2019-07-08 17:47:39 +02:00
Tobias Geerinckx-Rice
6c77d79a49
guix-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.
2019-07-08 17:47:39 +02:00
Ricardo Wurmus
cea5db1b84
etc: Do not recommend use of SKS key servers.
* etc/guix-install.sh: Recommend downloading the GPG key from Savannah.
2019-07-01 23:32:08 +02:00
Tobias Geerinckx-Rice
3a8bfebed9
etc: 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.
2019-06-29 14:27:22 +02:00
Tobias Geerinckx-Rice
414c4de15d
guix-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.
2019-06-29 06:28:50 +02:00
Jack Hill
a5ca4a6342
etc: Fix GUIX_LOCPATH quoting in 'guix-publish.service' file.
This is a followup to 579d17b70d.

* etc/guix-publish.service.in (Environment): Move GUIX_LOCPATH inside
the quotes.
2019-06-05 17:27:22 +02:00
Jack Hill
579d17b70d
etc: 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>
2019-06-05 11:48:55 +02:00
Ludovic Courtès
489d6c0dc0
Set '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.
2019-05-13 23:46:08 +02:00
Ricardo Wurmus
825c39bfbb
etc: Refer to ci.guix.gnu.org in install script.
* etc/guix-install.sh: Replace reference to ci.guix.info with ci.guix.gnu.org.
2019-05-10 23:38:10 +02:00
Maxim Cournoyer
4ac69ea10f
Add (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.
2019-05-09 00:22:37 -04:00
Ludovic Courtès
3a3e9f2bb5
guix-install.sh: Update URL.
* etc/guix-install.sh (GNU_URL): Change to ftp.gnu.org.
2019-05-02 15:31:24 +02:00
Ludovic Courtès
757e633d57
build: Change default substitute server to "ci.guix.gnu.org".
* config-daemon.ac: Replace "ci.guix.info" with "ci.guix.gnu.org".
* doc/guix.texi (SUBSTITUTE-SERVER): Likewise.
* etc/substitutes/ci.guix.gnu.org.pub: New file.
* Makefile.am (dist_pkgdata_DATA): Add it.
* guix/scripts/build.scm (%default-log-urls): Update.
* guix/scripts/substitute.scm (%default-substitute-urls): Likewise.
* guix/store.scm (%default-substitute-urls): Likewise.
* guix/self.scm (miscellaneous-files): Add "ci.guix.gnu.org".
2019-05-01 11:05:47 +02:00
Ludovic Courtès
d824cfbabe
guix package: Add 'install', 'remove', and 'upgrade' aliases.
* guix/scripts/install.scm, guix/scripts/remove.scm,
guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files.
* Makefile.am (MODULES, SH_TESTS): Add them.
* po/guix/POTFILES.in: Add them.
* guix/scripts/package.scm (guix-package): Split with...
(guix-package*): ... this.  New procedure.
* doc/guix.texi (Invoking guix package): Document them.
(Binary Installation, Application Setup, Package Management)
(Packages with Multiple Outputs, Package Modules)
(X.509 Certificates, Installing Debugging Files): Use 'guix install' in
simple examples.
* etc/completion/bash/guix (_guix_complete): Handle "install", "remove",
and "upgrade".
2019-04-29 10:13:44 +02:00
Pierre Neidhardt
6994e67436
etc: Add "rename" snippet.
* etc/snippets/text-mode/guix-commit-message-rename-package: New file.
2019-03-26 14:18:12 +01:00