1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00
Commit Graph

4064 Commits

Author SHA1 Message Date
Giacomo Leidi
4533da834d gnu: home: dotfiles: Files not excluded when they should.
* gnu/home/services/dotfiles.scm (%home-dotfiles-excluded): Match
content of .git directories.
(directory-contents): Match whole file-name instead of basename.
* doc/guix.texi: Document it.

Fixes <https://issues.guix.gnu.org/71217>

Authored-by: Nicolas Odermatt-Lemay <nodermattlemay@gmail.com>
Change-Id: I2929fe3318e1f9f0b552c891207524dea25389ed
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-02-22 19:51:46 +01:00
Hugo Buddelmeijer
f333fb810d doc: Improve raid-device-mapping documentation.
* doc/guix.texi (Mapped Devices): Move examples into the mapping defvars.
Add how to load kernel modules for raid.  Add RAID cindex.

Change-Id: If2d3f3c48940d2428b36bdd85d31c8288db35f3b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
Merges: #6512
2026-02-22 19:01:34 +01:00
Ludovic Courtès
ccce417a6c doc: Mention online documentation.
* doc/guix.texi (Documentation): Mention the online manual and
doc.guix.gnu.org.

Change-Id: I5abdd85fa2166890323f99a99c30136400791bdd
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #6563
2026-02-22 18:59:31 +01:00
Sughosha
f19ddd6dfe services: readymedia: Fix configurations.
* gnu/services/upnp.scm (%readymedia-default-log-directory): Remove variable.
(%readymedia-default-log-file): New procedure.
(%readymedia-default-cache-directory): Turn it into a procedure.
(<readymedia-configuration>)[log-directory]: Remove field.
[log-file]: New field.
[cache-directory]: Set to %readymedia-default-cache-directory.
(readymedia-configuration->config-file): Remove "user" and "log_dir" fields.
(readymedia-shepherd-service)[modules]: Add (shepherd support).
[start]: Do not map the log-directory. For home services, do not wrap the
program with least-authority-wrapper.
(readymedia-activation): Do not create the log-directory.
* gnu/home/services/upnp.scm (%readymedia-cache-file, %readymedia-cache-path,
%readymedia-log-path): Remove variables.
(run-readymedia-test): Use the procedures properly. Do not test the
log directory. Test the log file.
* doc/guix.texi (Miscellaneous Services)[DLNA/UPnP Services]: Update doc.

Change-Id: I97d84b5287c374ddb26a495f20a36f986b0c142d
Signed-off-by: Giacomo Leidi <therewasa@fishinthecalculator.me>
2026-02-22 17:15:16 +01:00
David Elsing
96bd726277 gexp: Add 'delayed-object'.
* guix/gexp.scm (<delayed-object>): New record type.
(delayed-object): New macro.
(delayed-object-compiler): New gexp compiler.
* tests/gexp.scm ("delayed-object"): New test.
* doc/guix.texi (G-Expressions): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-02-10 23:46:34 +01:00
Ludovic Courtès
afcfe2bc3c doc: Refer to on-line manuals at doc.guix.gnu.org.
* doc/htmlxref.cnf: Add entries for 20 manuals at doc.guix.gnu.org.

Change-Id: I28ff7b00d024214bf22b6ae06bc873528a0c7440
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #6271
2026-02-10 11:36:16 +01:00
Maxim Cournoyer
90b1546bc2 services: Fix logging for jami-service-type.
Its default behavior changed and it no longer logs to syslog by default;
update to log to /var/log/jami.log instead.

* gnu/services/telephony.scm (jami-configuration->command-line-arguments):
Drop /dev/log mapping. Add /var/log/jami.log mapping. Always add --console argument.
(jami-shepherd-services): Conditionally add #:log-file argument; simplify
usernames logic a bit.
* gnu/services/telephony.scm (jami-configuration): Update doc.
* doc/guix.texi (Telephony Services): Likewise.

Change-Id: Ia2819866c84db4cba92fad52dfd0a74acdc887fc
2026-02-10 18:07:49 +09:00
Wilko Meyer
eee1bfbec5 gnu: services: Add xandikos-service-type.
* gnu/services/dav.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add file.
* doc/guix.texi (DAV Services): Document the service.

Change-Id: I5345efd579f9e527eb8798397b52bf1b9b4cab56
2026-02-09 16:27:42 +01:00
Sören Tempel
64622248cd services: web: Add go-webdav.
* gnu/services/web.scm (go-webdav-service-type): New service.
(go-webdav-account-service): New variable.
(go-webdav-shepherd-service): New procedures.
* gnu/tests/web.scm (%test-go-webdav): Add tests for the service.
* doc/guix.texi (Web Services): Document it.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2026-02-08 23:53:58 +01:00
Maxim Cournoyer
8a744a0b0c import/elpa: Add GNU-devel repository.
* guix/import/elpa.scm (%elpa-archives): Register GNU-devel archive.
* doc/guix.texi (Invoking guix import): Document it.

Change-Id: If036334477be7537ff70a62d4900427d74bc05db
2026-02-08 08:23:19 +09:00
Ludovic Courtès
f4d42db437 services: static-networking: Add ‘scope’ field to <network-route>.
* gnu/services/base.scm (assert-network-route-scope): New procedure.
(<network-route>)[scope]: New field.
(network-set-up/linux)[route-scope->constant]: New procedure.
Use it to pass #:scope to ‘route-add’.
* doc/guix.texi (Networking Setup): Document it.

Fixes: guix/guix#4175
Reported-by: Christopher Baines <mail@cbaines.net>
Change-Id: I24399eca6e691d63fa3d01be564060a3d693d650
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5507
2026-02-06 20:49:02 +01:00
Ludovic Courtès
33bf09eb79 doc: Document “standard” pull requests and AGit.
* doc/contributing.texi (Submitting Patches): Document “standard” pull
requests and AGit.

Merges guix/guix!5840

Change-Id: I8fe93e4dde0b9543f3bd99c66cf1fdb6ba69c449
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-02-03 07:58:33 +01:00
Ludovic Courtès
c36602a36d doc: Remove “Debbugs Usertags” section.
* doc/contributing.texi (Debbugs Usertags): Remove.

Merges guix/guix!5840

Change-Id: If550e31918c495ed24578fcbaaa179eb36521687
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-02-03 07:58:21 +01:00
Ludovic Courtès
9d22a2eef7 doc: Update Debbugs deprecation warnings.
* doc/contributing.texi (The Issue Tracker): Update deprecation notice.
(Debbugs User Interfaces): Likewise.

Merges guix/guix!5840

Change-Id: Ic5c1bddddbb8c53b031d52887f57372759badf8b
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-02-03 07:58:07 +01:00
Ludovic Courtès
0871dba4d6 doc: Remove “Sending a Patch Series” section.
* doc/contributing.texi (Sending a Patch Series): Remove.

Merges guix/guix!5840

Change-Id: I8f15c4385b24cecc6a8f1bd13c2065d2a267e5b1
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-02-03 07:57:55 +01:00
Ludovic Courtès
d499253d47 doc: Contributions are now made on Codeberg.
* doc/contributing.texi (Submitting Patches): Document Codeberg pull requests
as the only method.  Mention guix-patches@gnu.org in a footnote.  Remove
paragraphs about of ‘git send-email’ and the associated workflow.

Merges guix/guix!5840

Reported-by: Nick Blumenauer <nicknb@posteo.com>
Change-Id: Ifbd46665a14a83f014ddff4234cc69bf93c3a8d1
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-02-03 07:57:26 +01:00
Oleg Pykhalov
f86f25377a home: services: ssh: Add support for known_hosts2 file.
This commit adds a new 'known-hosts2' field to the OpenSSH home service
configuration, enabling a hybrid approach to SSH host key management.

* gnu/home/services/ssh.scm (<home-openssh-configuration>)[known-hosts2]: New field.
(openssh-configuration-files): Generate ~/.ssh/known_hosts2 when specified.
* doc/guix.texi (Secure Shell): Document new 'known-hosts2' field.

Change-Id: I1d314706eaf6af9547833020abe857f4d8c44b86
2026-02-02 15:43:22 +03:00
Ludovic Courtès
40c24a92af serialization: Use ‘bytevector-slice’ from Guile >= 3.0.9.
* guix/serialization.scm (sub-bytevector): Remove.
(read-byte-string): Use ‘bytevector-slice’.
* configure.ac: Require Guile 3.0.9.
* doc/contributing.texi (Requirements): Adjust accordingly.

Change-Id: I7aa11a2182530ea5131be591db03b17efb6847a4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #4495
2026-01-27 13:01:14 +01:00
Clombrong
8dc57904e3 services: Add endlessh-service-type.
* docs/guix.texi: Document EndleSSH service and configuration.
* gnu/services/ssh.scm: New service.
* gnu/services/ssh.scm: Define shepherd service.

Merges: https://codeberg.org/guix/guix/pulls/5910
Co-Authored-By: Giacomo Leidi <therewasa@fishinthecalculator.me>
Change-Id: Ief4520b536276b88f2e5027ef0897bf84b2835df
Signed-off-by: Giacomo Leidi <therewasa@fishinthecalculator.me>
2026-01-27 11:46:03 +01:00
Maxim Cournoyer
cdd80c5ad7 doc: Fix typo.
* doc/guix.texi (Invoking guix import): Fix typo.

Change-Id: I4d9234ac3c4d83f64d36e7aedf4c67e9eaf79167
2026-01-27 14:27:25 +09:00
Charles Roelli
d7e71dad6d doc: Fix hello package example.
* doc/guix.texi (Defining Packages): Fix package example.

Change-Id: Ib3bf14f50a938de569b7eb1927ec18d9ee5d1e5c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5838
2026-01-26 10:24:00 +01:00
Ludovic Courtès
997dd3aa51 doc: cookbook: Don’t insist on mounting home directories on the head node.
* doc/guix-cookbook.texi (Setting Up a Head Node): State that mounting home
directories on the head node is “optional”.

Change-Id: Id60b54d463f5422f71a71607cd71ed347a98865e
Merges: #5890
2026-01-26 10:22:54 +01:00
Ludovic Courtès
085c6e6583 doc: cookbook: Recommend systemd timer for ‘guix gc’.
* doc/guix-cookbook.texi (Setting Up a Head Node): Give instructions for the
systemd timer rather than ‘crontab’.

Change-Id: I063ad0ea694500a67553d66d37ae354b9c078a65
2026-01-26 10:18:39 +01:00
Ludovic Courtès
28ce4eae6b doc: cookbook: Update for unprivileged guix-daemon execution.
* doc/guix-cookbook.texi (Setting Up a Head Node): Add note about unprivileged
guix-daemon.  Remove ‘--build-users-group=guixbuild’ flag from ‘.service’
snippets.  Mention “systemd timer” next to “crontab entry”.

Change-Id: I72ac59d3ce8a5572dbeb8cb4c7764a8478f6e1ee
2026-01-26 10:18:35 +01:00
Ludovic Courtès
0c5d65d540 transformations: Add ‘--amd-gpu’ transformation option.
* guix/transformations.scm (split-on-commas): New procedure, moved from…
(transform-package-toolchain): … here.
(package-amd-gpu-specialization, transform-package-amd-gpu-targets): New
procedures.
(%transformations, %options): Add ‘amd-gpu’.
* tests/transformations.scm ("options->transformations, amd-gpu")
("options->transformations, amd-gpu, not applicable")
("options->transformations, amd-gpu, missing clang-rocm input")
("options->transformations, amd-gpu, wrong GPU"): New tests.
* doc/guix.texi (Package Transformation Options): Document it.

Change-Id: I56bf0dffbf12bc08cf6318fe56952473b395c303
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5583
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-25 21:25:40 +01:00
Hartmut Goebel
3da67d6d68 doc: Add an URL link.
* doc/guix.texi (Services)[Telephony Services]{Jami}: Add link to the Jami
  project home-page.

Change-Id: If8e5ad61f9f36c0403e74d6926e89eb463bb009b
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-25 21:25:23 +01:00
Hartmut Goebel
b20bf71e6f doc: Small rewording.
* doc/guix.texi (Services)[Continuous Integration]: Add quotes to mark terms
  as such. Fix typo.

Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-25 21:25:22 +01:00
Hartmut Goebel
ba29ecdb84 doc: Fix an URL.
* doc/guix.texi (Services)[Desktop Services]: Fix an URL.

Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-25 21:25:22 +01:00
Andreas Enge
7f46cd4bec gnu: texlive: Deprecate in favor of texlive-scheme-full.
* gnu/packages/texlive.scm (%texlive-date, %texlive-year,
texlive-extra-src, texlive-texmf-src, texlivebin, texlivetexmf): Delete
variables.
(texlive): Redefine as texlive-scheme-full.
* gnu/packages/books.scm: Remove module inclusion.
* doc/guix.texi: Remove documentation for monolithic texlive.

Change-Id: I23837ca29cbbc080833be122972dcfe31c0fd1bb
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-25 21:17:44 +01:00
Rutherther
0f8d5a4760 doc: Use devel url on master.
To prevent redirection to the versioned maual, use devel on master branch.

* doc/htmlxref.cnf: Point GUIX to devel manual.

Change-Id: I6b2bf3b78ca5815ff49e6ebe50bc12383e64a7fd
2026-01-22 13:42:47 +01:00
Rutherther
7c0cd7e45b Merge branch 'version-1.5.0'
Change-Id: Id73c0c74600a3da3373b3a37236b505af65bfe31
2026-01-22 13:27:13 +01:00
Ludovic Courtès
519524f996 doc: Use versioned URL for references to translated Guix manuals.
Partly addresses guix/guix#5725.

* doc/htmlxref.cnf (GUIX): Add /1.5.0.

Change-Id: I49ef15c00ca45b83a48ba0d1366b79a108e1e1a8
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5754
2026-01-19 19:23:30 +01:00
Danny Milosavljevic
811ee1ab9f import: nuget: Add tests and documentation.
* guix/import/nuget.scm: Prevent optimizing small functions away completely.
* tests/import/nuget.scm: New file.
* doc/guix.texi (nuget): Document it.
* Makefile.am (SCM_TESTS): Add reference to it.

Fixes: guix/guix#5483
Change-Id: Id58932fe404a11a03e61a91d3b6177b39548f1bc
2026-01-19 19:21:52 +01:00
Ludovic Courtès
2e2f80faba doc: Use markup for commands in “Upgrading Guix”.
This is a followup to d5cf3b5def.

* doc/guix.texi (Upgrading Guix): Use markup for commands.

Change-Id: I0b751ddc7f0e8e57813be23c809c23ade1e6cbd1
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5724
2026-01-19 18:52:31 +01:00
Ludovic Courtès
b12d80aec3 doc: Move “When you’re done” instructions right after ‘guix-install.sh’.
* doc/guix.texi (Binary Installation): Move “When you’re done” instructions
right after script execution.

Change-Id: I70c9015add401a6ad6465941f423a3c4c9ef9b24
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:29 +01:00
Ludovic Courtès
02840cc74f doc: Mention the tarball URL and clarify binary installation steps.
* doc/guix.texi (Binary Installation): Mention the tarball URL.  Clarify what
the steps do.

Change-Id: Ic929b10c29b69752fd549b78295682bdf4fb76f6
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:28 +01:00
Ludovic Courtès
6e89d38ce8 doc: Move ‘guix-install.sh’ commands upfront in “Binary Installation”.
* doc/guix.texi (Binary Installation): Move installation commands upfront.

Change-Id: Ie63837f29d5c2f25e3e50039facb8cdb12ba2f82
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:27 +01:00
Ludovic Courtès
a92a0ddaea doc: Reword introduction to ‘guix-install.sh‘.
* doc/guix.texi (Binary Installation): Reword introduction to
‘guix-install.sh’.

Change-Id: I51a1f55191cccde3800ef32a7a8ebe15f5e2c813
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:26 +01:00
Ludovic Courtès
6275c911bd doc: Link to ‘guix-install.sh’ upfront under “Binary Installation”.
* doc/guix.texi (Binary Installation): Link to the script upfront rather than
in a footnote.

Change-Id: Icd89d0e9bb0c701b6b956ce214015e5466299bf3
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:26 +01:00
Ludovic Courtès
93e1f4e363 doc: Remove ‘#’ from code snippets to allow for copy/paste.
* doc/guix.texi (Binary Installation): Remove leading ‘#’ from code snippets.

Change-Id: Id459799ffdf26da3f9ab2907ed68e0ac7eb857fc
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:25 +01:00
Ludovic Courtès
f45b68feb8 doc: Use @command for commands under “Binary Installation”.
* doc/guix.texi (Binary Installation): Use @command and @code appropriately.

Change-Id: If2d0d25a3e7e97c19f14c6f70143b5481b49b727
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:24 +01:00
Ludovic Courtès
60005904e9 doc: Move instructions about ‘guix’ from other distros to the bottom.
* doc/guix.texi (Binary Installation): Move paragraphs about ‘guix’ packages
of other distros to the bottom.

Change-Id: Ie7c3484e40fb0dbe502e81f17e2d74b7afa0e777
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:23 +01:00
Ludovic Courtès
32c28c684a doc: Remove Parabola instructions from “Binary Installation”.
This reverts 0f9fe721be.

The rationale is that there’s no reason to single out Parabola and, more
importantly, it obscures the message of this section.

* doc/guix.texi (Binary Installation): Remove Parabola instructions.

Change-Id: Ib7b2b0629d8e3a90cd09705cc2dcde15df8f51a2
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-19 18:52:22 +01:00
Rutherther
077aaa1138 doc: Bump version to 1.5.0.
* doc/build.scm
(%latest-guix-version): Bump to 1.5.0.
(stylized-html): Move to versioned manual URL.
(html-manual): Use versioned manual URL.

Change-Id: I82048a9548894e335e7c2427a739733304a7961a
Fixes: #5681
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5715
2026-01-18 17:54:21 +01:00
Hilton Chain
2ae3c69679 import: crate: Generate comments with ‘TODO REVIEW:’ prefix.
This distinguishes them from manually added ones.  When committing changes,
these ‘TODO REVIEW’ comments should be addressed and removed first.

If you're working with Rust packaging, please update your local Guix to this
commit to apply the change.

* guix/import/crate.scm (cargo-lock->expressions): Generate comments with
‘TODO REVIEW:’ prefix.
* tests/import/crate.scm ("crate-lockfile-import"): Don't check the exact
comment string.
* doc/guix-cookbook.texi (Common Workflow for Rust Packaging),
* gnu/packages/rust-crates.scm: Adjust accordingly.

Change-Id: I76b914b49be46d04cc61b101b6bc9e31cadb7f07
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4567
2026-01-18 11:15:36 +01:00
Hilton Chain
1232e53526 gnu: rust-crates: Add ‘package:’ prefix for replaced crates.
This avoids definitions like
‘(define rust-pipewire-0.8.0.fd3d8f7 rust-pipewire-0.8.0.fd3d8f7)’.

* gnu/packages/rust-crates.scm: Import (gnu packages rust-sources) module with
‘package:’ prefix.
* etc/teams/rust/rust-crates.tmpl,
* doc/guix-cookbook.texi (Cargo Workspaces and Development Snapshots): Adjust
accordingly.

Change-Id: Ie41556d8f30db65e968d8e8238491f1345eeed59
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-18 11:14:55 +01:00
Hilton Chain
01b97dff35 import: crate: Generate comments with ‘TODO REVIEW:’ prefix.
This distinguishes them from manually added ones.  When committing changes,
these ‘TODO REVIEW’ comments should be addressed and removed first.

If you're working with Rust packaging, please update your local Guix to this
commit to apply the change.

* guix/import/crate.scm (cargo-lock->expressions): Generate comments with
‘TODO REVIEW:’ prefix.
* tests/import/crate.scm ("crate-lockfile-import"): Don't check the exact
comment string.
* doc/guix-cookbook.texi (Common Workflow for Rust Packaging),
* gnu/packages/rust-crates.scm: Adjust accordingly.

Change-Id: I76b914b49be46d04cc61b101b6bc9e31cadb7f07
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4567
2026-01-18 10:13:38 +01:00
Hilton Chain
91f1db6186 gnu: rust-crates: Add ‘package:’ prefix for replaced crates.
This avoids definitions like
‘(define rust-pipewire-0.8.0.fd3d8f7 rust-pipewire-0.8.0.fd3d8f7)’.

* gnu/packages/rust-crates.scm: Import (gnu packages rust-sources) module with
‘package:’ prefix.
* etc/teams/rust/rust-crates.tmpl,
* doc/guix-cookbook.texi (Cargo Workspaces and Development Snapshots): Adjust
accordingly.

Change-Id: Ie41556d8f30db65e968d8e8238491f1345eeed59
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-18 10:13:32 +01:00
Simon Tournier
696b85377d doc: Rename package variants index anchor terms.
* doc/guix.texi (Package Transformation Options): Add index term and move
index term from here...
(Defining Package Variants): ...to here and add index term.

Fixes: guix/guix#2191
Change-Id: I8ed71d3db8a6c70368f9ae37d159622a5512db42
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2026-01-16 00:10:43 +01:00
Christopher O'Neill
a2f6d5c4ab doc: Remove paragraph stating Xorg display server used by default.
* doc/guix.texi (Desktop Services): Remove paragraph.
(X Window): Remove corresponding anchor.
* po/doc/guix-manual.de.po, po/doc/guix-manual.fr.po: Likewise.

Change-Id: Ib545f15e51585fcc5abdb804e6d9eb0f47cb2179
Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-15 19:07:35 +01:00