Commit graph

710 commits

Author SHA1 Message Date
Tomas Volf
887d031382
guix-install.sh: Relax check for OpenRC.
On my virtual private servers running Alpine, the install script failed to
identify the init system.  The virtual server is LXC based, and OpenRC
identifies itself like this:

    # openrc --version
    openrc (OpenRC [LXC]) 0.52.1

The regular expression failed to match it.  After relaxing the check (by
removing the trailing `)' requirement) the installation went fine and I got
functional Guix installation.

* etc/guix-install.sh (chk_init_sys): Drop trailing \) from the regular
expression.

Change-Id: I5f951226341e631fb34cc6c26cfbb87656dab77a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 12:05:09 +02:00
Trevor Arjeski
1262e8b122
guix-install.sh: Add ~/.guix-profile/share/info to INFOPATH.
Adding ~/.guix-profile/share/info to the INFOPATH env var so that when a user
does `guix install [package]` that package's info pages can be found.

* etc/guix-install.sh (sys_create_init_profile): Add
$GUIX_PROFILE/share/info to INFOPATH in ‘/etc/profile.d/zzz-guix.sh’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I8958261c388ddee5659f0f1ce1c0c9813dc0f052
2024-06-02 12:05:09 +02:00
Ludovic Courtès
73b3f941d7
maint: Suggest ‘guix git authenticate’ for initial authentication.
The previous recommendation, running ‘make authenticate’, was insecure
because it led users to run code from the very repository they want to
authenticate:

  https://lists.gnu.org/archive/html/guix-devel/2024-04/msg00252.html

* Makefile.am (commit_v1_0_0, channel_intro_commit)
(channel_intro_signer, GUIX_GIT_KEYRING, authenticate): Remove.
* Makefile.am (.git/hooks/%): New target, generalization of previous
‘.git/hooks/pre-push’ target.
(nodist_noinst_DATA): Add ‘.git/hooks/post-merge’.
* doc/contributing.texi (Building from Git): Suggest ‘guix git
authenticate’ instead of ‘make authenticate’.
* etc/git/post-merge: New file.
* etc/git/pre-push: Run ‘guix git authenticate’ instead of ‘make
authenticate’.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Reported-by: Skyler Ferris <skyvine@protonmail.com>
Change-Id: Ia415aa8375013d0dd095e891116f6ce841d93efd
2024-05-25 16:23:56 +02:00
Maxim Cournoyer
5a624adfd7
teams: Add Maxim to documentation team.
* etc/teams.scm (Maxim Cournoyer): Subscribe to the 'documentation' team.

Change-Id: I4a9d0a329fb66eb2dc798da5dbb5231255676033
2024-05-15 22:55:21 -04:00
Matthew Trzcinski
9288654773
teams: Add Matt to the documentation team.
* etc/teams.scm (Matthew Trzcinski): New member.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
Change-Id: I5f75d8e74d972c60760b8fb57bcef0b76a971962
2024-05-11 14:29:00 +02:00
Florian Pelz
7477f8e96d
teams: Add myself to the documentation team.
* etc/teams.scm (Florian Pelz): Add to documentation team.

Change-Id: I904097dbaf32ed0ae80caff5ef966bed287a2a05
2024-05-02 10:56:33 +02:00
Ludovic Courtès
aae603980b
teams: Add myself to the documentation team.
* etc/teams.scm (Ludovic Courtès): Add to documentation team.

Change-Id: Icf71ad8e2ebbe2b65ab3b6c0cf8cd8fe60cf2d0a
2024-05-01 22:31:28 +02:00
Ludovic Courtès
54f6732e5d
teams: Add documentation team.
* etc/teams.scm (documentation): New team.

Change-Id: I34d4ed9029f369ebf0d1f510cc0810baca2ced89
2024-05-01 22:31:13 +02:00
Ludovic Courtès
5c13ab50b9
news: Add entry for ‘guix git authenticate’ changes.
* etc/news.scm: Add entry.

Change-Id: I661a0c0bfc373b87a70508ad9a735315c96ba4a5

Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Change-Id: Ibafef9d432df163948c4884279d4ce2579ed0312
2024-05-01 17:48:24 +02:00
Wilko Meyer
fc8f04726c
news: Add entry for removing linux-libre 6.7 (EoL).
* etc/news.scm: Add entry for linux-libre 6.7 removal.

Change-Id: I8fe3eb3f68023e85fcac7549c06d2cc26cd8e810
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-30 17:58:05 -04:00
Tomas Volf
08bb2dbb13
guix-install.sh: Fix setting GUIX_LOCPATH.
After installing Guix home on my new foreign system, the locale did not
work and GDM did not even let me to log in.  After some digging around using
tty3 and tty4, I realized the GUIX_LOCPATH is not being set properly.

I had nothing installed in the ~/.guix-profile (the symlink did not even
exist) and I had glibc-locales installed in ~/.guix-home, yet GUIX_LOCPATH
contained "$HOME/.guix-profile/lib/locale:".

I believe when the code was modified from the original "home or profile" to
the current "home and profile" the || was used by accident instead of &&.

I also remove the trailing :, since it is taken care of by the ${...:+:}.

* etc/guix-install.sh (sys_create_init_profile):

Change-Id: I8a3287fe809af58aee2edc924154eecf91fa1eb8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-29 22:56:44 +02:00
Tomas Volf
d7bf731573
guix-install.sh: Add default value for XCURSOR_PATH.
This improves compatibility with (at least) Gnome based systems.  On my new
Ubuntu 22.04 install the mouse cursor was broken (after I installed Guix)
until I set this.

* etc/guix-install.sh (sys_create_init_profile): Set default value for
XCURSOR_PATH.

Change-Id: I489f0307d99e4d8d82671f291c78b90c7b6dae4a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-29 22:56:05 +02:00
Florian Pelz
e5c0ea22e6
news: Update news and commit for nss-certs change.
As discussed in
<https://lists.gnu.org/archive/html/guix-devel/2024-04/msg00211.html>.

* etc/news.scm: Update.

Change-Id: Id893abe6642de3939f7993267075764e4bb5d820
2024-04-23 08:01:51 +02:00
Florian Pelz
8600726d38
news: Add 'de' translation.
* etc/news.scm: Add German translation for nss-certs entry.

Change-Id: I82343fdc81c370a2a11e0c7bce55e5914187861f
2024-04-20 09:26:51 +02:00
Maxim Cournoyer
e0d920b7db
news: Add entry for nss-certs being added to %base-packages.
* etc/news.scm: New entry.
* NEWS: Update news.

Change-Id: I40e0b859f2af0bb0e652925a53d6447ea6fbacfb
2024-04-18 20:46:58 -04:00
Leo Famulari
8bfa49444d
teams: Remove Björn Höfling from their team due to inactivity.
* etc/teams.scm (Björn Höfling): Remove from the JAVA team.

Change-Id: I384e4aebff18485ea5c5bf444a46dc88a64af72d
2024-04-09 16:21:25 -04:00
Leo Famulari
cff5ecaf67
teams: Remove Raghav Gururajan from their teams due to inactivity.
* etc/teams.scm (Raghav Gururajan): Remove from the GNOME and MENTORS teams.

Change-Id: Ic1a583f08636f4cfd34635ab04091844b9957e08
2024-04-09 16:21:24 -04:00
Ahmad Draidi via Guix-patches via
e34ebd7f73
news: Add entry for the linux-libre-lts 6.6 update.
* etc/news.scm: Add entry.

Change-Id: Ic57c76c300712e4a6053052611e6483b4d72f0c5
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-08 18:30:15 -04:00
Janneke Nieuwenhuizen
78390634d7
guix-install.sh: Make Guix modules available too.
* etc/guix-install.sh (GUILE_LOAD_PATH): Prepend directory to current Guix
modules.
(GUILE_LOAD_COMPILED_PATH): Likewise to compiled modules.

Change-Id: I0b2722a38b1f8ebab32142cbc372a23cadfb0620
2024-04-07 16:26:28 +02:00
Ludovic Courtès
dd476cfb76
guix-install.sh: Add ‘--uninstall’ flag.
* etc/guix-install.sh (REQUIRE): Add groupdel and userdel.
(chk_term): Handle ‘WAR’.
(sys_delete_store, sys_delete_build_user, sys_delete_guix_daemon)
(sys_delete_init_profile, sys_delete_user_profiles): New functions.
(main): Rename to…
(main_install): … this.
(main_uninstall): New function.
(main): Dispatch between these two.
* doc/guix.texi (Installation): Refer to “Binary Installation” instead
of repeating it.
(Binary Installation): Document uninstallation.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I55b7c10823773bced2e268273e8ce828cb3bd98d
2024-04-05 18:21:23 +02:00
Christopher Baines
ac19e038b4
Switch order of the default substitute servers.
The aim here is to improve the user experience.  There's anecdotal evidence
that the network performance for bordeaux is better compared to ci at least
for some users, and I don't know of any issues with rate limiting or access
restriction for bordeaux compared to ci.  It also has IPv6 support.

Additionally, bordeaux generally had more substitutes than ci, particularly
for aarch64-linux and armhf-linux.  This change will offer a very slight
speedup for those substitutes that only bordeaux has.

Bordeaux has been a default substitute server for nearly 3 years now and I
think this change is overdue.  I'm also hopeful that we'll be able to build on
the testing regarding mirrors for bordeaux, and that'll allow potentially
improving the hosting setup (through providing more redundancy) and further
improving substitute fetching for users who currently have issues with
substitute access.

* config-daemon.ac: Switch substitute urls order.
* doc/guix.texi: Ditto.
* etc/guix-install.sh: Ditto.
* gnu/installer/newt/network.scm (wait-service-online): Ditto.
* guix/store.scm (%default-substitute-urls): Ditto.

Change-Id: I4f6d93ae1fc8b03d80b47b18b5749a51f1fde17b
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-03 17:18:38 +01:00
Christopher Baines
8fa0761264
Merge remote-tracking branch 'savannah/master' into gnome-team
Change-Id: Iec8e15b79c6fde516294c2bfcaf8ee3575b1f745
2024-03-20 14:54:26 +00:00
Maxim Cournoyer
a8ba2f3507
teams: qt: Remove erroneous comment at top of scripts.
* etc/teams/qt/common.scm: Remove erroneous comment.
* etc/teams/qt/qt-manifest.scm: Likewise.
* etc/teams/qt/qt5-manifest.scm: Likewise.

Change-Id: I87a0ea669caa0ba5049b48a4f04fda58518c3f05
2024-03-19 03:40:08 -04:00
Christopher Baines
618cae45dc
Merge remote-tracking branch 'savannah/master' into gnome-team
Change-Id: I775274c2693536e2efa36c9abca4c54c5c458e26
2024-03-16 10:19:30 +00:00
Tanguy Le Carrour
7319b4d528
teams: Add Tanguy Le Carrour.
* etc/teams.scm.in ("Tanguy Le Carrour"): New member.

Change-Id: Ic1b1588a5a8bc67ee8e135c3069966f139374529
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14 13:48:07 +00:00
Ludovic Courtès
4c94b9e983
news: Update commit for fixed-output derivation vulnerability.
* etc/news.scm: Update.

Change-Id: Ia34408882f8928a0fd05acc12d4edc66b3dcb3b7
2024-03-12 14:24:18 +01:00
Florian Pelz
0547fe862c
news: Add 'de' translation.
* etc/news.scm: Add German translation.

Change-Id: Ia2a11f71cdee5ccbf2a7fbe176e713418771599e
2024-03-12 10:26:17 +01:00
Ludovic Courtès
7fa8bf8520
news: Give upgrade instructions for foreign distros.
* etc/news.scm: Update entry.

Change-Id: Ia7c326bc97042d92a8d499ee27dd41d15f1f0d29
2024-03-12 09:52:50 +01:00
Ludovic Courtès
4003c60abf
news: Add entry for the daemon fixed-output derivation vulnerability.
* etc/news.scm: Add entry.

Change-Id: Ib3f9c22eda1e8b9075620ec01b4edf2f24cfcf93
2024-03-11 23:14:37 +01:00
Vagrant Cascadian
5f100c68a4
etc: systemd services: switch to "journal" for output and error logging.
The "syslog" method has been deprecated for years, and issues a warning:

  Standard output type syslog is obsolete, automatically updating to
  journal. Please update your unit file, and consider removing the setting
  altogether.

Fixes: #48323

* etc/guix-daemon.service.in (StandardOutput): Use "journal"
(StandardError): Likewise.
* etc/guix-publish.service.in (StandardOutput): Likewise.
(StandardError): Likewise.
2024-03-11 14:34:25 -07:00
Ludovic Courtès
c7836393be
time-travel-manifest: Uncomment all the past releases.
This reverts a4c35c607c.

* etc/time-travel-manifest.scm (%release-commits): Uncomment all the
revisions.

Change-Id: I6abdb760cbcf06597d843cabc5fd973ee916dc77
2024-03-10 15:53:56 +01:00
Liliana Marie Prikler
2ee5451319
Merge branch 'master' into gnome-team 2024-03-10 00:05:58 +01:00
宋文武
de3f864438
teams: Add 宋文武 to the qt team.
* etc/teams.scm (宋文武): Add qt team.

Change-Id: Ib1b50b109ded4dbbcfd0649d3e0c1e6884585c5e
2024-03-08 20:03:15 +08:00
宋文武
4d15e04a6d
teams: lxqt: Remove qt.scm from scope.
* etc/teams.scm (lxqt)[#:scope]: Remove "gnu/packages/qt.scm".

Change-Id: If05ea534a827eba5a2acf6526d906cea43f72442
2024-03-08 20:03:15 +08:00
AwesomeAdam54321
bd1cc64ddd
teams: Add entry for Adam Faiz.
* etc/teams.scm ("Adam Faiz"): New member.

Signed-off-by: Andreas Enge <andreas@enge.fr>
Change-Id: Idb913da5e4f622b8efdbadc87d2cf3e5aec118eb
2024-03-08 10:27:26 +01:00
Liliana Marie Prikler
f469a45362
news: Add entry for changes in GNOME 44 and its desktop service.
* etc/news.scm: Add entry.
2024-02-28 19:02:51 +01:00
Vivien Kraus
df42803ce9
news: Add entry for GDM defaulting to Wayland.
* etc/news.scm: Add entry.

Change-Id: Icddcf269ff59a7ee2a14680ed95a167758ecddaf
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-02-28 19:02:51 +01:00
Vivien Kraus
f7e60666e7
news: Add entry for hwdb support in udev-service-type.
* etc/news.scm: Add entry.

Change-Id: I3c27b10eab501cca6ed0e32a1b30d92f212266b4
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-02-28 19:02:50 +01:00
Ricardo Wurmus
6ebe912b55
teams: Add Sugar team.
* etc/teams.scm (sugar): New team; add Ricardo to it.

Change-Id: I4d7af2a8f4077fa60ff8400b0b8b1b6127a77448
2024-02-13 20:03:28 +01:00
Sharlatan Hellseher
8a0910e042
teams: go: Add all related files to the scope.
* etc/teams.scm (go): Add regex search for any golang files.

Change-Id: Ia6c95d8d49863de0381a907ca6309fa22d22927e
2024-02-13 14:38:31 +00:00
Timothy Sample
5f86eebd24
gnu: disarchive: Update to 0.6.0.
* gnu/packages/backup.scm (disarchive): Update to 0.6.0; add
'guile-bzip2' as an input.
* gnu/packages/package-management.scm (guix): Add 'guile-bzip2' as
an input to enable bzip2 support when using Disarchive.
* guix/self.scm (%packages): Add 'guile-bzip2'.
(compiled-guix): Include 'guile-bzip2' as a dependency when building
the 'guix' command.
* etc/disarchive-manifest.scm (tarball-origin?): Include bzip2
tarballs.

Co-authored-by: Ludovic Courtès <ludovic.courtes@inria.fr>
Change-Id: I4da479054f6bef225f5ea979c091152f8a9e51d5
2024-02-12 21:26:01 -06:00
Clément Lassieur
14210b7f58
teams: mozilla: Add tor-browsers.scm.
* etc/teams.scm (mozilla): Add "gnu/packages/tor-browsers.scm".

Change-Id: Id3aa1fe641c612000319a4ea4b236285f8d3b599
2024-02-05 18:57:48 +01:00
Mark H Weaver
a32df1ff70
teams: Add Mark H Weaver to the ‘mozilla’ team.
* etc/teams.scm (Mark H Weaver): Add to the ‘mozilla’ team.
2024-02-03 13:26:03 -05:00
Sharlatan Hellseher
7a63fba807
teams: go: Add golang-xyz.scm to scope.
* etc/teams.scm (go): Add "gnu/packages/golang-xyz.scm".

Change-Id: I580eadf52b631c6582e256a2900786b53483a466
2024-01-30 22:58:22 +00:00
Sharlatan Hellseher
f74789cd54
teams: go: Add more related files to the scope.
* etc/teams.scm (go): Add "gnu/packages/configuration-management.scm",
"gnu/packages/golang-crypto.scm", "gnu/packages/golang-web.scm",
"gnu/packages/syncthing.scm", "gnu/packages/terraform.scm". Sort list
alphabetically.

Change-Id: I56ce5bd21e487e5dbe2d84aa1d83e3239268fb71
2024-01-28 23:40:23 +00:00
Maxim Cournoyer
1348be9115
gitconfig: b4: Automatically add 'Signed-off-by' when applying patches.
Also use --3way to ease conflict resolutions.

* etc/git/gitconfig [b4]: Add shazam-am-flags option.

Change-Id: I6a92909a5b23a8680c16251aafa084b9a48944ea
2024-01-24 10:42:41 -05:00
Efraim Flashner
4939425918
teams: Remove Efraim Flashner from the science team.
* etc/teams.scm (Efraim Flashner): Remove science team.

Change-Id: I790fe329cde11fcb4b706b01b9aa59ad29d8c874
2024-01-24 12:49:43 +02:00
Wilko Meyer
497780ad25
news: Add entry for removing linux-libre 4.14 (EoL).
* etc/news.scm: Add entry for linux-libre 4.14 removal and add my copyright
header.

Change-Id: I5c2418bc22a4ae2bba63c1cf77e66d2574766e01
2024-01-22 13:25:30 -05:00
Wilko Meyer
2f3d6ff968
teams: Add Wilko Meyer to kernel.
* etc/teams.scm: Add Wilko Meyer.

Change-Id: Ia7b85a090a4d8e81689bd137e1d12cb3708aa760
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-01-16 20:47:52 -05:00
Vivien Kraus
da14567354
teams: Add Vivien Kraus.
* etc/teams.scm.in ("Vivien Kraus"): New member.

Change-Id: Iab2c9300f3e1e604fb2ee539a7eb05e7a3f54776
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-01-14 11:47:52 +01:00