Commit graph

444 commits

Author SHA1 Message Date
Nicolas Graves 47c11772df
etc: Update yasnippet build system list.
* etc/snippets/yas/scheme-mode/guix-package (build-system): Add
chicken-build-system, minetest-build-system, rebar-build-system
and renpy-build-system.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves 0928b82070
etc: Add tempel snippet for :phases.
* etc/snippets/tempel/scheme-mode (:phases, add-before\ , add-after\ )
(replace\ ): New snippets.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves c4acaf4120
etc: Add tempel snippets.
* etc/snippets/tempel/scheme-mode: New file.
* etc/snippets/tempel/text-mode: New file.
* etc/snippets/scheme-mode: Moved from here...
* etc/snippets/yas/scheme-mode: ... to here.
* etc/snippets/text-mode: Moved from here...
* etc/snippets/yas/text-mode: ... to here.
* doc/contributing.texi ("The Perfect Setup"): Adjust yasnippet setup
accordingly.  Add tempel setup.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:14 +02:00
Mathieu Othacehe 845c841e21
time-travel-manifest: Use a separate cache per system.
* etc/time-travel-manifest.scm (<guix-instance-compiler>): Use a separate
cache per system so that parallel system evaluations do no step on each
other's toes.
2022-08-17 15:42:56 +02:00
Thiago Jung Bauermann via Guix-patches via ca8c7a36df
news: Add 'pt' translation.
The menu entry reference is kept in English because the manual isn't
translated to Portuguese yet.

* etc/news.scm: Add Portuguese translation of 'guix style -f' entry.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-08-14 08:51:41 +02:00
Mathieu Othacehe 26629d3c9e
etc: teams: Add Mathieu Othacehe to mentors.
* etc/teams.scm.in (mentors): New member.
2022-08-11 14:47:14 +02:00
Florian Pelz 6ce3e51aa8
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix style -f' entry.
Correct manual references in previous 'guix style' entries.
2022-08-10 12:45:41 +02:00
Ludovic Courtès 5bce4c8242
build-system: Add 'channel-build-system'.
* gnu/ci.scm (channel-build-system, channel-source->package): Remove.
* gnu/packages/package-management.scm (channel-source->package): New
procedure, moved from (gnu ci).
* guix/build-system/channel.scm: New file, with code moved from (gnu ci).
* doc/guix.texi (Build Systems): Document it.
2022-08-09 15:16:06 +02:00
Ludovic Courtès a109ee9048
news: Add entry for 'guix style -f'.
* etc/news.scm: Add entry.
2022-08-08 11:54:23 +02:00
Ludovic Courtès eab5366e67
disarchive-manifest: Exclude the Chromium tarball.
* etc/disarchive-manifest.scm (disarchive-collection): Exclude
"chromium-" tarballs.
2022-08-06 23:14:41 +02:00
Mathieu Othacehe 0e6e037417
etc: teams: Add entry for Mathieu Othacehe.
* etc/teams.scm.in ("Mathieu Othacehe"): New member.
2022-08-05 17:14:59 +02:00
Eric Bavier 791620b61d
etc: teams: Add entry for Eric Bavier.
* etc/teams.scm.in ("Eric Bavier"): New member.
(mozilla): Add #:description keyword before description.
2022-08-05 09:48:16 -05:00
Ludovic Courtès 6d4a0ccecb
disarchive-manifest: Filter out origins without a hash.
* etc/disarchive-manifest.scm (disarchive-collection): Filter out
origins with a phony hash.
2022-08-05 15:28:02 +02:00
Ludovic Courtès 2acffd56a5
disarchive-manifest: Handle tar.xz archives.
* etc/disarchive-manifest.scm (tarball-origin?): Add ".tar.xz".
2022-08-05 00:14:29 +02:00
Jonathan Brielmaier 45ca6967ab
etc: teams: Add entry for Jonathan Brielmaier.
* etc/teams.scm.in ("Jonathan Brielmaier"): New member.
2022-07-13 20:06:26 +02:00
Jonathan Brielmaier a3f8eac564
etc: teams: Add mozilla team.
* etc/teams.scm.in (mozilla): New team.
2022-07-13 20:03:35 +02:00
Thiago Jung Bauermann d301374d97
etc: teams: Add entry for Thiago Jung Bauermann.
* etc/teams.scm.in ("Thiago Jung Bauermann"): New member.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-10 23:57:15 +02:00
Ludovic Courtès 5d0437ea8c
time-travel-manifest: Use a separate Git checkout cache.
* etc/time-travel-manifest.scm (guix-instance-compiler): Parameterize
%REPOSITORY-CACHE-DIRECTORY.
2022-07-10 23:57:14 +02:00
Ludovic Courtès 9fdc4b6c28
monads: Add 'mparameterize'.
* etc/system-tests.scm (mparameterize): Move to...
* guix/monads.scm (mparameterize): ... here.
* tests/monads.scm ("mparameterize"): New test.
* .dir-locals.el (c-mode): Add it.
2022-07-10 23:57:14 +02:00
Christopher Baines 6e2f5fe217
etc: teams: Add entry for Christopher Baines.
* etc/teams.scm.in ("Christopher Baines"): New member.
2022-07-08 23:36:24 +01:00
Ludovic Courtès e80f0cda96
etc: Add 'time-travel-manifest.scm'.
This manifest makes it easy to test travels from the current revision
back to the revision of a past Guix release.

Suggested by zimoun <zimon.toutoune@gmail.com>.

* etc/time-travel-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2022-07-08 23:58:11 +02:00
Björn Höfling ff751a68dc
etc: teams: Add entry for Björn Höfling.
* etc/teams.scm.in ("Björn Höfling"): New member.
2022-07-08 17:11:24 +02:00
jgart via Guix-patches via 3e8a1e8f25
etc: teams: Add entry for jgart.
* etc/teams.scm.in ("jgart"): New member.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-07-07 20:08:01 +02:00
Lars-Dominik Braun c3e4532498
etc: teams: Add entry for Lars-Dominik Braun.
* etc/teams.scm.in ("Lars-Dominik Braun"): New member.
2022-07-07 20:06:49 +02:00
Florian Pelz b150c70b15
etc: teams: Add entry for Florian Pelz.
* etc/teams.scm.in ("Florian Pelz"): New member.
2022-07-07 00:29:14 +02:00
Julien Lepiller 3ce152bf5b
etc: teams: Add entry for Julien Lepiller.
* etc/teams.scm.in ("Julien Lepiller"): New member.
2022-07-06 22:16:46 +02:00
Philip McGrath 3348e485b7
etc/guix-install.sh: Check for profile from 'guix home'.
If "$HOME/.guix-home/profile" exists, use it for GUIX_PROFILE instead of
"$HOME/.guix-profile".

* etc/guix-install.sh (sys_create_init_profile): Check for 'guix home'
profile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 23:38:38 +02:00
Philip McGrath 23aafc800c
etc/guix-install.sh: Initialize XDG base directories.
The default values from the XDG base directory specification make little
sense for Guix System, and some scripts in Guix assume that they are not
"empty or unset": for example, see <https://issues.guix.gnu.org/56050>.
On foreign distros, however, omitting the default values is likely to
break software from the distro, perhaps even preventing the desktop
environment from starting. To smooth over the difference, use the
system-wide configuration to ensure the environment variables are always
explicitly set on foreign distros.

* etc/guix-install.sh (sys_create_init_profile): Explicitly initialize
XDG base directory variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 23:38:37 +02:00
Efraim Flashner 47ed000d4d
etc: teams: Add entry for Efraim Flashner.
* etc/teams.scm.in ("Efraim Flashner"): New member.
2022-07-04 11:14:39 +03:00
Leo Famulari 1f33ff1173
teams: Add leo Famulari.
* etc/teams.scm.in ("Leo Famulari"): New member.
2022-07-03 22:50:31 -04:00
Liliana Marie Prikler 9cdfecc8a3
etc: teams: Add entry for Liliana Prikler.
* etc/teams.scm.in ("Liliana Marie Prikler"): New member.
2022-07-03 17:11:21 +02:00
Liliana Marie Prikler 672c863f55
etc: teams: Sort members lexicographically by last name.
* etc/teams.scm.in: Sort members lexicographically by last name.
2022-07-03 17:11:18 +02:00
Andreas Enge 4a2f487740
etc: Update teams.
* etc/teams.scm.in: Rename maths team to science and add myself to it.
2022-07-03 16:33:26 +02:00
Ricardo Wurmus 4eaf90470f
etc: Add teams.scm.
* etc/teams.scm.in: New file.
* configure.ac: Generate executable.
* .gitignore: Ignore generated file.
2022-07-03 14:12:32 +02:00
Florian Pelz c86484782e
news: Add 'de' translation.
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-06-29 16:28:35 +02:00
Leo Famulari 75c5003a4a
news: Add entry about the update of the 'linux-libre' package.
* etc/news.scm: Add entry.
2022-06-29 08:52:58 -04:00
Florian Pelz 92773dedcd
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix refresh -L' entry.
2022-06-23 16:20:34 +02:00
Ludovic Courtès 2873433c72
news: Add entry for 'guix refresh -L' change.
* etc/news.scm: Add entry.
2022-06-22 23:49:06 +02:00
Florian Pelz 3f70501532
news: Add 'de' translation.
* etc/news.scm: Add German translation of edit sub-commands entry.
2022-06-05 11:30:24 +02:00
Florian Pelz 607e677430
news: Update copyright line.
* etc/news.scm: Update Maxime Devos’ copyright header.
2022-06-05 11:30:10 +02:00
Ludovic Courtès ac826aef9c
news: Add entry for 'guix system edit' and 'guix home edit'.
* etc/news.scm: Add entry.

Co-authored-by: Maxime Devos <maximedevos@telenet.be>
2022-06-04 12:09:37 +02:00
Tobias Geerinckx-Rice dc6d92ac93
bash completion: Fix & unify option parsing.
We now correctly recognise ‘guix -Abcdef’ as equivalent to ‘guix -f’.

* etc/completion/bash/guix (_guix_is_short_option, guix_is_long_option):
New functions.
(_guix_is_dash_f, _guix_is_dash_l, _guix_is_dash_L, _guix_is_dash_m)
(_guix_is_dash_C, _guix_is_dash_p): Use them.
2022-05-29 02:00:20 +02:00
Maxim Cournoyer 5e6efdfeec
etc/committer: Teach it how to commit package removal.
* etc/committer.scm.in (hunk-types): New variable.
(<hunk>): Rename hunk-definition? getter to 'hunk-type'.
(diff-info): Mute a git warning by separating file names from arguments with
'--'.  Rename the 'definitions?' variable to 'type'.
Use the 'addition type when a new package addition is detected, 'removal when
removed else #f.
(add-commit-message): Re-indent.
(remove-commit-message): New procedure.
(main)[definitions]: Make commit message conditional depending on whether it
is an addition or removal.
[changes]: Adjust indentation.
2022-05-31 14:52:13 -04:00
Maxim Cournoyer 6c956243bc
etc/committer: Prefix (sxml xpath) symbols to avoid name conflict.
This avoids a naming conflict for 'filter', provided by both (srfi srfi-1)
and (sxml xpath).

* etc/committer.scm.in: Use 'use-modules' instead of 'import', and use a
prefix for the (sxml xpath) module.
(new-sexp): Adjust accordingly.
(change-commit-message): Likewise.
2022-05-31 14:52:13 -04:00
Josselin Poiret dab819d5c4
Move (gnu platform) and (gnu platforms ...) to guix/.
* gnu/platform.scm:
* gnu/platforms/arm.scm:
* gnu/platforms/hurd.scm:
* gnu/platforms/mips.scm:
* gnu/platforms/powerpc.scm:
* gnu/platforms/riscv.scm:
* gnu/platforms/s390.scm:
* gnu/platforms/x86.scm: Move to guix/.

* Makefile.am:
* doc/guix.texi (Porting to a New Platform):
* etc/release-manifest.scm:
* gnu/ci.scm:
* gnu/image.scm:
* gnu/local.mk:
* gnu/packages/bioinformatics.scm:
* gnu/packages/bootstrap.scm:
* gnu/packages/cross-base.scm:
* gnu/packages/instrumentation.scm:
* gnu/packages/linux.scm:
* gnu/system/image.scm:
* gnu/system/images/hurd.scm:
* gnu/system/images/novena.scm:
* gnu/system/images/pine64.scm:
* gnu/system/images/pinebook-pro.scm:
* gnu/system/images/rock64.scm:
* guix/scripts/build.scm:
* guix/scripts/system.scm:
* guix/self.scm: Update (gnu platform...) to (guix platform...).

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-25 09:27:25 +02:00
Florian Pelz a6da02217e
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix import elm' entry.
2022-05-23 11:52:29 +02:00
Mathieu Othacehe dd970122dd
ci: Do not rely on hardcoded cross-targets lists.
* gnu/ci.scm (%cross-targets): Remove it ...
(cross-jobs): ... and use the targets procedure instead.
* etc/release-manifest.scm: Adapt it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:33 +02:00
Ludovic Courtès b782d11f9b
news: Add entry for 'guix import elm'.
* etc/news.scm: Add entry.
2022-05-22 01:42:27 +02:00
Maxim Cournoyer e56ff45600
snippets: Add a 'remove' snippet.
* etc/snippets/text-mode/guix-commit-message-remove-package: New file.
2022-05-12 12:46:07 -04:00
Florian Pelz 968992e499
news: Add 'de' translation.
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-04-24 23:05:24 +02:00