me
/
guix
Archived
1
0
Fork 0
Commit Graph

112 Commits (1c9e3e9f36621bb91d153bc155c6cbce704e9220)

Author SHA1 Message Date
Ludovic Courtès 5ec4156bbc
tests: Add a manifest for system tests.
The manifest can be passed to 'guix build -m', 'guix weather -m', and so
on.  It can also be passed to an installed 'guix' (without
./pre-inst-env), with the exception so far of installation tests.

* build-aux/run-system-tests.scm: Remove.  Move interesting bits move
to...
* etc/system-tests.scm: ... here.  New file.
* Makefile.am (EXTRA_DIST): Remove 'build-aux/run-system-tests.scm' and
add 'etc/system-tests.scm'.
(check-system): Rewrite to run 'guix build -m etc/system-tests.scm'.
2020-03-05 16:33:38 +01:00
Oleg Pykhalov 9a39711438
etc: Add copyright.
* etc/copyright.el: New file.
* doc/contributing.texi (The Perfect Setup): Document this.
2020-02-22 17:56:31 +03:00
Marius Bakke 11415d3506
guix build: Add '--manifest' option.
* guix/scripts/build.scm (show-help): Document --manifest argument.
(options->things-to-build): When given a manifest, evaluate all the entries.
* tests/guix-build.sh: Add test for --manifest.
* doc/guix.texi (Additional Build Options): Mention --manifest.
* etc/completion/bash/guix: Complete file name if 'guix build' argument is
-m.
2020-02-14 17:49:26 +01:00
Tobias Geerinckx-Rice 2c5874e3ed
news: Add ‘nl’ translation.
* etc/news.scm: Add an ‘nl’ translation.
2020-02-08 18:18:00 +01:00
Julien Lepiller ea4f34d4e0
news: Fix typos in 'fr' translation.
* etc/news.scm: Update 'fr' translation.
2020-02-08 15:22:41 +01:00
Julien Lepiller 726edfd6bd
news: Add 'fr' translations.
* etc/news.scm: Add 'fr' translations.
2020-02-08 13:57:50 +01:00
Florian Pelz 6646798bf0
news: Add 'de' translation.
* etc/news.scm: Add 'de' translation.
2020-02-08 11:26:09 +00:00
Mathieu Othacehe ac70fc6aa3
news: Add entry for "guix pull" ssh authenticated repositories support.
* etc/news.scm: Add entry for "guix pull" ssh authenticated repositories support.
2020-02-07 09:52:25 +01:00
Alexander Krotov 7ff169d04f
guix-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>
2020-01-26 23:21:39 +01:00
Prafulla Giri 29ba58c0ef
guix-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>
2020-01-26 23:21:39 +01:00
Prafulla Giri 5c03516a6b
guix-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>
2020-01-26 23:21:39 +01:00
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