Commit graph

118 commits

Author SHA1 Message Date
Ludovic Courtès
8b18f5cb30
tests: Use the same source as ci.guix.gnu.org.
* etc/system-tests.scm (system-test-manifest): In 'local-file' call, use
a name that is a function of COMMIT to match what Cuirass does.
2020-03-23 00:06:58 +01:00
Ludovic Courtès
e69b8bbae9
guix-install.sh: /etc/profile.d/guix.sh sources ~/.guix-profile/etc/profile.
* etc/guix-install.sh (sys_create_init_profile): Source
~/.guix-profile/etc/profile instead of running 'guix package
--search-paths=prefix'
2020-03-22 00:02:23 +01:00
Ludovic Courtès
3c69701f97
guix-install.sh: Add a trailing colon to 'INFOPATH'.
Fixes <https://bugs.gnu.org/39984>.
Suggested by Adam Porter <adam@alphapapa.net>.

* etc/guix-install.sh (sys_create_init_profile): Add a trailing colon to
'INFOPATH'.
2020-03-22 00:02:23 +01:00
Ludovic Courtès
f292c50191
maint: Add 'etc/release-manifest.scm'.
* etc/release-manifest.scm: New file.
* gnu/ci.scm (%cross-targets): Export.
* build-aux/check-available-binaries.scm: Remove.
* Makefile.am (EXTRA_DIST): Add 'etc/release-manifest.scm' and remove
'build-aux/check-available-binaries.scm'.
(assert-binaries-available): Rewrite using 'guix weather -m'.
2020-03-13 17:33:38 +01:00
Danny Milosavljevic
fe60ef998f
guix-install.sh: Install SysV init script.
* etc/guix-install.sh (sys_enable_guix_daemon): Install SysV init script.
2020-03-11 02:45:49 +01:00
Danny Milosavljevic
73fbe04107
Add system start-up files for guix-daemon.
* etc/init.d/guix-daemon.in: New file.
* nix/local.mk (etc/init.d/guix-daemon): New rule.
(nodist_sysvinitservice_DATA): Add etc/init.d/guix-daemon.in .
(CLEANFILES): Add etc/init.d/guix-daemon .
* .gitignore: Add etc/init.d/guix-daemon .
2020-03-11 02:45:33 +01:00
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