The TERM variable had been changed to OMP_NUM_THREADS in the example, but the
text hadn't been adjusted.
* doc/guix.texi (Invoking guix shell): Replace TERM with OMP_NUM_THREADS, as
well as its associated value (from "no-color" to "16").
Both runtime-directory-size and runtime-directory-size-percent field currently
cause an error if set. A comment above the latter already calls for its
deprecation. This patch combines both into a single field and fixes
their serialization.
* gnu/services/desktop.scm (percent?, percent, elogind-serialize-percent):
Replace with…
(non-negative-integer-and-suffix?, non-negative-integer-and-suffix)
(elogind-serialize-non-negative-integer-and-suffix): … these.
(elogind-configuration)[runtime-directory-size-percent]: Remove field,
integrating logic into …
[runtime-directory-size]: … here. Serialize it.
* doc/guix.texi (Desktop Services): Adjust accordingly.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Merges: guix/guix#9987
* doc/contributing.texi (Building from Git): Suggest `guix shell --pure`
as that is currenlty the only way to make the tests pass on the first run.
(Running the Test Suite): Explain which test failures are expected depending
on each setup.
Change-Id: I3425879dcd2a71c2e3c2fd00b55c819447ac9437
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
Merges: #9408
This improves out-of-box experience of the service, since the default theme
only supports sddm-qt5.
* gnu/services/sddm.scm (<sddm-configuration>) [sddm]: Use sddm-qt5.
* doc/guix.texi (X Window) [sddm-configuration]: Adjust accordingly.
Change-Id: I97825751fc230b41fbc3d5d1ae86eb2408c4dc29
Merges: #7480
* po/doc/guix-cookbook.ta.po: Delete file, as it is based on clearly
low-quality machine translation.
* po/doc/local.mk: Remove 'ta' cookbook.
* po/doc/po4a.cfg (po4a_langs): Remove 'ta'.
* doc/local.mk: Remove 'ta' cookbook.
* doc/htmlxref.cnf: Update URLs for cookbook.
* doc/build.scm (%cookbook-languages): Remove 'ta'.
(html-manual-indexes)<language-index>: Do not hide PDF for 'ta'.
* doc/guix-cookbook.texi (Top): Do not mention 'ta' cookbook.$
* guix/profiles.scm (build-system->manifest): New procedure.
* doc/guix.texi (Writing Manifests): Document it.
* tests/profiles.scm: Test it.
Merges: #7272
Change-Id: Iaba54d5d4a1a9ae304de45f91374098617adebfc
Signed-off-by: Simon Tournier <zimon.toutoune@gmail.com>
GNU Guix has grown to be much more than a "Functional Package Manager". This
change reflects that fact.
* doc/guix-cookbook.texi (@subtitle): Update it.
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
Update RabbitMQ default configuration to use localhost interface by
default and avoid listening on public interfaces.
Change the default configuration file to set inter-node communication
listener to localhost network interface (see also
https://www.rabbitmq.com/docs/networking#distribution). This requires
setting RabbitMQ node name to `rabbit@localhost`, so introduce
`node-name` RabbitMQ configuration field with such default value.
Path to the RabbitMQ environment configuration file was hardcoded.
Remove the hardcoding and allow to create such file with env-config-file
RabbitMQ configuration field.
Add new RabbitMQ service tests to check RabbitMQ broker startup and
status after the service is started.
* gnu/services/high-availability.scm (<rabbitmq-configuration>)
[<node-name>, <env-config-file>]: New fields.
(rabbitmq-shepherd-service): Use them.
(%default-rabbitmq-config-file): Update.
* gnu/tests/high-availability.scm (run-rabbitmq-test): Add new tests.
* doc/gnu.texi (High Availability Services): Document new fields and
provide information about local interfaces.
Merges: guix/guix!9360
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/services/base.scm (nwg-hello-configuration): New configuration.
(nwg-hello-configuration-file): New variable.
(nwg-hello-style): New configuration.
(nwg-hello-stylesheet): New variable.
(greetd-nwg-hello-sway-session): New configuration.
(make-greetd-nwg-hello-sway-session-sway-config): New variable.
(greetd-nwg-hello-sway-session-compiler): New gexp compiler.
* doc/guix.texi (Base Services): Document the new greeter.
Merges: guix/guix!7644
Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This changes the default behavior of the 'npm-binary' importer to prefer using
pristine sources from Git when available, along with attempting to build the
package. It adds a '--binary' option to the importer to preserve the previous
behavior.
* guix/import/git.scm (get-tags): Export.
* guix/import/npm-binary.scm (<repository>): New JSON mapping.
(<package-revision>): Add a repository field.
(npm-package->package-sexp) [#:binary?]: New keyword. Update doc.
Conditionally splice #:phases argument.
<normalize-git-url, sexpify-git-tag/maybe>: New nested procedures.
(npm-package->package-sexp) [binary?]: Expand origin conditionally to BINARY?.
(npm-binary->guix-package) [#:binary?]: New keyword.
(npm-binary-recursive-import): Likewise.
* guix/import/utils.scm (git->origin) [#:eager?]: New keyword. Update doc.
* guix/scripts/import/npm-binary.scm (show-help): Document new --binary option.
(guix-import-npm-binary): Honor the new option.
Change-Id: I8e8c1c333faa8f5c96184ada064b63bdf2b4e165
* guix/build/node-build-system.scm (delete-dev-dependencies): Include
peerDependencies as well.
* guix/import/npm-binary.scm (npm-package->package-sexp): Use it to delete all
development dependencies, instead of listing them.
* doc/guix.texi (Invoking guix import): Document this special treatment.
Change-Id: I97b20aa59db67dc0297e0514e8ae083ac2088cb2
We've been using Codeberg for more than a year now. Also delete email-flow
related config files.
* doc/contributing.texi (Tracking Bugs and Changes)
<Debbugs User Interfaces>: Delete subsection.
* .patman: Delete file.
* .mumi/config: Likewise.
It's a frequent enough question by contributors that we should document its
purpose better.
* doc/guix.texi (package Reference) [license]: Precise the intent of this
field, and add a few examples.
Merges: !8904
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
This corresponds to postgresql's own default; it means we can let go of the
syslogd dependency by default and arguably makes it easier to find some
postgresql related errors.
* doc/guix.texi (Database Services) <postgresl-config-file>: Adjust example
to showcase something different than the new default. Change documented
default to stderr.
* gnu/services/databases.scm (<postgresql-config-file>)
[log-destination]: Change default value to stderr.
(postgresql-shepherd-service) <requirement>: Conditionally add
syslogd dependency only if found in log-destination value.
(postgresql-role-shepherd-service) <#:log-file>: Uncomment.
This services has been deprecated for a while in favor of
dhcpcd-service-type as the ISC DHCP implementation used
by this services has reached end-of-life upstream.
* gnu/services/networking.scm (dhcp-client-service-type): Remove.
(dhcp-client-shepherd-service): Remove.
(<dhcp-client-configuration>): Remove.
* doc/guix.texi (Networking Services): Remove dhcp-client-service-type
section.
Change-Id: I53f87c6ece8608a0f46d9973d6e70abb88ba7c2b
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* doc/guix-cookbook.texi (Running Guix on a Linode Server): Use
dhcpcd-service-type in the example.
* doc/guix.texi (Running Guix in a VM): Replace mention of
dhcp-client-service-type with dhcpcd-service-type.
(Networking Setup): Mention dhcpcd-service-type when explaining IWD.
(Web Services): Use dhcpcd-service-type in PHP with nginx example.
Change-Id: I4e985a9a667b4f6fd76156fb992ea959bae39b93
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* doc/contributing.texi (Building from Git): Remove mention to fetch the
keyring branch from origin and replace by the option '--keyring'.
Change-Id: I32fdf688329bb874210064ebfc814b14fdb35d17
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Allow to have several autossh services in system configuration.
gnu/services/ssh.scm (autossh-configuration)[shepherd-provision]: New field.
(autossh-file-name): Use first symbol from shepherd-provision as a base name
for the runtime autossh directory.
(autossh-shepherd-service)[shepherd-service]{provision}: Set to shepherd-provison.
doc/guix.texi (Networking Services)[autossh-configuration]: Document it.
Merges: !9285
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This reverts commit 8005e09b26 and follow-ups.
This was added 2 years ago to be able to trace commits between the git
repository and the guix-patches tracker, and to implement a solution to
automatically close merged commits (which has not materialized).
Since we have now migrated to Codeberg, the cross-referencing between reviewed
commits (pull requests) and the actual commits merged can be done in the
Codeberg UI (via the 'manually merged' option), and Codeberg also supports
closing a bug via the "Fixes: #NNN" git trailer, and as a convention we can
add a "Merges: !NNN" git trailer in a commit closing a PR (the actual closing
is not yet implemented by Forgejo), which mostly obsoletes the purpose of the
Change-Id git trailer.
* doc/guix.texi (Keyboard Layout and Networking and Partitioning): Add
btrfs example with a subvolume.
(Proceeding with the Installation): Note about dependencies when using
subvolumes in btrfs for the swap file.
(Swap Space): Add info on how to get the offset to the swap file when
using btrfs.
Merges: guix/guix!8829
Change-Id: I0c9c271d73520966ac8a7e87ca9d93120134cf41
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
* doc/contributing.texi (Contributing): Direct issue reports
to Codeberg instead of the deprecated bug-guix mail list.
Change-Id: I5bd1b5926e144b8461ab2f836bed1319ae75ec88
Merges: https://codeberg.org/guix/guix/pulls/7814
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>