projects/guix·commit 32cd878b

Merge branch 'master' into core-updates

32cd878b · Marius Bakke <[email protected]> · 2017-12-19 01:42:40 +01:00

Commit
32cd878be0bb7e153fcaa6f3bfa2632867390ff9
Parents
75342561 · 98bd11cf

Merge commit. Changes below are compared with the first parent: 75342561.

Changes

159 files changed · +24714 −3245

FileStatusAddDelContent
Makefile.ammodified+4−1View file
build-aux/build-self.scmmodified+1−0View file
build-aux/hydra/gnu-system.scmmodified+13−4View file
doc/contributing.teximodified+28−0View file
doc/guix.teximodified+186−31View file
etc/snippets/scheme-mode/guix-cvs-referenceadded+8−0View file
etc/snippets/scheme-mode/guix-git-referenceadded+7−0View file
etc/snippets/scheme-mode/guix-hg-referenceadded+7−0View file
etc/snippets/scheme-mode/guix-originadded+23−0View file
etc/snippets/scheme-mode/guix-packageadded+34−0View file
etc/snippets/scheme-mode/guix-svn-referenceadded+7−0View file
etc/snippets/text-mode/guix-commit-message-add-packageadded+8−0View file
etc/snippets/text-mode/guix-commit-message-update-packageadded+9−0View file
gnu/bootloader/extlinux.scmmodified+3−7View file
gnu/bootloader/u-boot.scmmodified+24−1View file
gnu/build/bootloader.scmadded+37−0View file
gnu/build/linux-boot.scmmodified+107−0View file
gnu/build/vm.scmmodified+34−10View file
gnu/local.mkmodified+13−13View file
gnu/packages/algebra.scmmodified+18−9View file
gnu/packages/aspell.scmmodified+34−34View file
gnu/packages/audio.scmmodified+136−1View file
gnu/packages/axoloti.scmmodified+1−1View file
gnu/packages/backup.scmmodified+1−0View file
gnu/packages/bioinformatics.scmmodified+96−78View file
gnu/packages/build-tools.scmmodified+3−2View file
gnu/packages/chez.scmmodified+12−3View file
gnu/packages/code.scmmodified+3−3View file
gnu/packages/compression.scmmodified+2−2View file
gnu/packages/cran.scmmodified+131−0View file
gnu/packages/crypto.scmmodified+2−2View file
gnu/packages/cups.scmmodified+15−8View file
gnu/packages/databases.scmmodified+1−1View file
gnu/packages/datastructures.scmmodified+55−0View file
gnu/packages/dictionaries.scmmodified+40−0View file
gnu/packages/emacs.scmmodified+167−11View file
gnu/packages/embedded.scmmodified+38−0View file
gnu/packages/erlang.scmmodified+5−4View file
gnu/packages/fontutils.scmmodified+6−2View file
gnu/packages/fvwm.scmmodified+4−4View file
gnu/packages/game-development.scmmodified+5−4View file
gnu/packages/games.scmmodified+44−0View file
gnu/packages/gl.scmmodified+35−0View file
gnu/packages/gnome.scmmodified+3−3View file
gnu/packages/gnunet.scmmodified+4−5View file
gnu/packages/gnupg.scmmodified+5−2View file
gnu/packages/gnuzilla.scmmodified+2−1View file
gnu/packages/graph.scmmodified+26−0View file
gnu/packages/gstreamer.scmmodified+16−25View file
gnu/packages/gtk.scmmodified+3−2View file
gnu/packages/guile.scmmodified+13−6View file
gnu/packages/haskell.scmmodified+2−2View file
gnu/packages/image.scmmodified+2−2View file
gnu/packages/imagemagick.scmmodified+2−12View file
gnu/packages/jemalloc.scmmodified+19−1View file
gnu/packages/kde.scmmodified+93−1View file
gnu/packages/language.scmmodified+6−5View file
gnu/packages/linux.scmmodified+127−10View file
gnu/packages/machine-learning.scmmodified+3−1View file
gnu/packages/mail.scmmodified+56−16View file
gnu/packages/maths.scmmodified+4−4View file
gnu/packages/messaging.scmmodified+1−1View file
gnu/packages/mpd.scmmodified+2−2View file
gnu/packages/music.scmmodified+273−70View file
gnu/packages/networking.scmmodified+7−6View file
gnu/packages/nutrition.scmmodified+8−1View file
gnu/packages/package-management.scmmodified+3−3View file
gnu/packages/password-utils.scmmodified+5−0View file
gnu/packages/patches/borg-fix-archive-corruption-bug.patchadded+68−0View file
gnu/packages/patches/eigen-arm-neon-fixes.patchadded+245−0View file
gnu/packages/patches/graphicsmagick-CVE-2017-11403+CVE-2017-14103.patchdeleted+0−137View before deletion
gnu/packages/patches/graphicsmagick-CVE-2017-12935.patchdeleted+0−28View before deletion
gnu/packages/patches/graphicsmagick-CVE-2017-12936.patchdeleted+0−16View before deletion
gnu/packages/patches/graphicsmagick-CVE-2017-12937.patchdeleted+0−28View before deletion
gnu/packages/patches/graphicsmagick-CVE-2017-13775.patchdeleted+0−195View before deletion
gnu/packages/patches/graphicsmagick-CVE-2017-13776+CVE-2017-13777.patchdeleted+0−179View before deletion
gnu/packages/patches/graphicsmagick-CVE-2017-14042.patchdeleted+0−80View before deletion
gnu/packages/patches/graphicsmagick-CVE-2017-14165.patchdeleted+0−72View before deletion
gnu/packages/patches/graphicsmagick-CVE-2017-14649.patchdeleted+0−210View before deletion
gnu/packages/patches/jemalloc-arm-address-bits.patchadded+39−0View file
gnu/packages/patches/libvdpau-va-gl-unbundle.patchadded+35−0View file
gnu/packages/patches/picprog-non-intel-support.patchadded+74−0View file
gnu/packages/patches/python-scikit-learn-fix-test-non-determinism.patchadded+25−0View file
gnu/packages/patches/qemu-CVE-2017-15118.patchdeleted+0−58View before deletion
gnu/packages/patches/qemu-CVE-2017-15119.patchdeleted+0−68View before deletion
gnu/packages/patches/qemu-CVE-2017-15268.patchdeleted+0−62View before deletion
gnu/packages/patches/rsync-CVE-2017-16548.patchadded+31−0View file
gnu/packages/patches/rsync-CVE-2017-17433-fix-tests.patchadded+42−0View file
gnu/packages/patches/rsync-CVE-2017-17433.patchadded+45−0View file
gnu/packages/patches/rsync-CVE-2017-17434-pt1.patchadded+28−0View file
gnu/packages/patches/rsync-CVE-2017-17434-pt2.patchadded+39−0View file
gnu/packages/patches/t1lib-CVE-2011-1552+CVE-2011-1553+CVE-2011-1554.patch → gnu/packages/patches/t1lib-CVE-2011-1552+.patchrenamed+0−0View file
gnu/packages/perl-check.scmmodified+20−17View file
gnu/packages/perl.scmmodified+22−0View file
gnu/packages/photo.scmmodified+3−3View file
gnu/packages/popt.scmmodified+3−2View file
gnu/packages/python.scmmodified+34−3View file
gnu/packages/rsync.scmmodified+10−1View file
gnu/packages/ruby.scmmodified+25−4View file
gnu/packages/rust.scmmodified+932−375View file
gnu/packages/search.scmmodified+4−3View file
gnu/packages/security-token.scmmodified+5−5View file
gnu/packages/shells.scmmodified+7−5View file
gnu/packages/skarnet.scmmodified+2−2View file
gnu/packages/sml.scmmodified+3−2View file
gnu/packages/statistics.scmmodified+8−7View file
gnu/packages/tcl.scmmodified+2−2View file
gnu/packages/terminals.scmmodified+2−2View file
gnu/packages/tex.scmmodified+9−6View file
gnu/packages/text-editors.scmmodified+9−4View file
gnu/packages/tls.scmmodified+22−2View file
gnu/packages/upnp.scmmodified+4−3View file
gnu/packages/version-control.scmmodified+62−1View file
gnu/packages/video.scmmodified+39−17View file
gnu/packages/virtualization.scmmodified+71−6View file
gnu/packages/web.scmmodified+30−0View file
gnu/packages/wine.scmmodified+13−3View file
gnu/packages/wm.scmmodified+117−2View file
gnu/packages/xdisorg.scmmodified+4−4View file
gnu/packages/xfig.scmmodified+22−83View file
gnu/packages/xorg.scmmodified+28−27View file
gnu/services.scmmodified+2−1View file
gnu/services/base.scmmodified+15−1View file
gnu/services/certbot.scmmodified+3−3View file
gnu/services/version-control.scmmodified+2−1View file
gnu/services/web.scmmodified+350−92View file
gnu/system/examples/beaglebone-black.tmpladded+54−0View file
gnu/system/install.scmmodified+29−2View file
gnu/system/vm.scmmodified+12−4View file
gnu/tests/version-control.scmmodified+3−4View file
gnu/tests/web.scmmodified+123−5View file
guix/build-system/asdf.scmmodified+62−62View file
guix/build/ant-build-system.scmmodified+5−2View file
guix/build/download.scmmodified+3−3View file
guix/derivations.scmmodified+37−24View file
guix/gexp.scmmodified+11−5View file
guix/gnu-maintenance.scmmodified+3−0View file
guix/licenses.scmmodified+7−0View file
guix/man-db.scmadded+200−0View file
guix/memoization.scmmodified+135−22View file
guix/profiles.scmmodified+50−60View file
guix/profiling.scmadded+52−0View file
guix/progress.scmmodified+6−6View file
guix/scripts/archive.scmmodified+1−0View file
guix/scripts/copy.scmmodified+1−0View file
guix/scripts/environment.scmmodified+1−0View file
guix/scripts/gc.scmmodified+21−10View file
guix/scripts/lint.scmmodified+10−3View file
guix/scripts/offload.scmmodified+39−0View file
guix/scripts/pack.scmmodified+1−0View file
guix/scripts/package.scmmodified+2−1View file
guix/scripts/pull.scmmodified+1−0View file
guix/scripts/system.scmmodified+27−9View file
guix/store.scmmodified+9−10View file
guix/ui.scmmodified+23−1View file
guix/utils.scmmodified+5−0View file
po/packages/hu.pomodified+19116−773View file
tests/guix-gc.shmodified+3−0View file
tests/lint.scmmodified+15−0View file

Only the first 600 diff lines are shown. Download the complete patch.

Makefile.am

View file
diff --git a/Makefile.am b/Makefile.am
index e9c323b..f992151 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,7 +34,8 @@ nodist_noinst_SCRIPTS = \
# Modules that are not compiled but are installed nonetheless, such as
# build-side modules with unusual dependencies.
-MODULES_NOT_COMPILED =
+MODULES_NOT_COMPILED = \
+ guix/man-db.scm
include gnu/local.mk
@@ -102,6 +103,7 @@ MODULES = \
guix/http-client.scm \
guix/gnupg.scm \
guix/elf.scm \
+ guix/profiling.scm \
guix/store.scm \
guix/cvs-download.scm \
guix/svn-download.scm \
@@ -252,6 +254,7 @@ AUX_FILES = \
# Templates, examples.
EXAMPLES = \
gnu/system/examples/bare-bones.tmpl \
+ gnu/system/examples/beaglebone-black.tmpl \
gnu/system/examples/desktop.tmpl \
gnu/system/examples/lightweight-desktop.tmpl \
gnu/system/examples/vm-image.tmpl

build-aux/build-self.scm

View file
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index 6415978..17d947b 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -267,6 +267,7 @@ Please upgrade to an intermediate version first, for instance with:
;; Closure of (guix modules).
(guix modules)
(guix memoization)
+ (guix profiling)
(guix sets))
;; Arrange so that our own (guix build …) modules are

build-aux/hydra/gnu-system.scm

View file
diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm
index d9b9c55..04845a3 100644
--- a/build-aux/hydra/gnu-system.scm
+++ b/build-aux/hydra/gnu-system.scm
@@ -22,12 +22,14 @@
;;; tool.
;;;
-;; Attempt to use our very own Guix modules.
+(use-modules (system base compile))
+
(eval-when (compile load eval)
- ;; Ignore any available .go, and force recompilation. This is because our
- ;; checkout in the store has mtime set to the epoch, and thus .go files look
- ;; newer, even though they may not correspond.
+ ;; Pre-load the compiler so we don't end up auto-compiling it.
+ (compile #t)
+
+ ;; Use our very own Guix modules.
(set! %fresh-auto-compile #t)
(and=> (assoc-ref (current-source-location) 'filename)
@@ -334,6 +336,13 @@ valid."
(parameterize ((%graft? #f))
;; Return one job for each package, except bootstrap packages.
(append-map (lambda (system)
+ (format (current-error-port)
+ "evaluating for '~a' (heap size: ~a MiB)...~%"
+ system
+ (round
+ (/ (assoc-ref (gc-stats) 'heap-size)
+ (expt 2. 20))))
+ (invalidate-derivation-caches!)
(case subset
((all)
;; Build everything, including replacements.

doc/contributing.texi

View file
diff --git a/doc/contributing.texi b/doc/contributing.texi
index 1dd3ea8..01f8aad 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -193,6 +193,34 @@ facilities to directly operate on the syntax tree, such as raising an
s-expression or wrapping it, swallowing or rejecting the following
s-expression, etc.
+@cindex code snippets
+@cindex templates
+@cindex reducing boilerplate
+We also provide templates for common git commit messages and package
+definitions in the @file{etc/snippets} directory. These templates can
+be used with @url{http://joaotavora.github.io/yasnippet/, YASnippet} to
+expand short trigger strings to interactive text snippets. You may want
+to add the snippets directory to the @var{yas-snippet-dirs} variable in
+Emacs.
+
+@lisp
+;; @r{Assuming the Guix checkout is in ~/src/guix.}
+(with-eval-after-load 'yasnippet
+ (add-to-list 'yas-snippet-dirs "~/src/guix/etc/snippets"))
+@end lisp
+
+The commit message snippets depend on @url{https://magit.vc/, Magit} to
+display staged files. When editing a commit message type @code{add}
+followed by @kbd{TAB} to insert a commit message template for adding a
+package; type @code{update} followed by @kbd{TAB} to insert a template
+for updating a package.
+
+The main snippet for @code{scheme-mode} is triggered by typing
+@code{package...} followed by @kbd{TAB}. This snippet also inserts the
+trigger string @code{origin...}, which can be expanded further. The
+@code{origin} snippet in turn may insert other trigger strings ending on
+@code{...}, which also can be expanded further.
+
@node Coding Style
@section Coding Style

doc/guix.texi

View file
diff --git a/doc/guix.texi b/doc/guix.texi
index c14df7f..3bb29db 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -43,7 +43,8 @@ Copyright @copyright{} 2017 Maxim Cournoyer@*
Copyright @copyright{} 2017 Tobias Geerinckx-Rice@*
Copyright @copyright{} 2017 George Clemmer@*
Copyright @copyright{} 2017 Andy Wingo@*
-Copyright @copyright{} 2017 Arun Isaac
+Copyright @copyright{} 2017 Arun Isaac@*
+Copyright @copyright{} 2017 nee
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -1065,6 +1066,15 @@ regular expression like this:
# guix offload test machines.scm '\.gnu\.org$'
@end example
+@cindex offload status
+To display the current load of all build hosts, run this command on the
+main node:
+
+@example
+# guix offload status
+@end example
+
+
@node Invoking guix-daemon
@section Invoking @command{guix-daemon}
@@ -1550,7 +1560,7 @@ features.
This chapter describes the main features of Guix, as well as the
package management tools it provides. Along with the command-line
interface described below (@pxref{Invoking guix package, @code{guix
-package}}), you may also use Emacs Interface (@pxref{Top,,,
+package}}), you may also use the Emacs-Guix interface (@pxref{Top,,,
emacs-guix, The Emacs-Guix Reference Manual}), after installing
@code{emacs-guix} package (run @kbd{M-x guix-help} command to start
with it):
@@ -8690,6 +8700,9 @@ also specified. @xref{Mapped Devices} and @ref{File Systems}.
@itemx @code{groups} (default: @var{%base-groups})
List of user accounts and groups. @xref{User Accounts}.
+If the @code{users} list lacks a user account with UID@tie{}0, a
+``root'' account with UID@tie{}0 is automatically added.
+
@item @code{skeletons} (default: @code{(default-skeletons)})
A list target file name/file-like object tuples (@pxref{G-Expressions,
file-like objects}). These are the skeleton files that will be added to
@@ -14813,10 +14826,7 @@ A simple example configuration is given below.
(server-blocks
(list (nginx-server-configuration
(server-name '("www.example.com"))
- (root "/srv/http/www.example.com")
- (https-port #f)
- (ssl-certificate #f)
- (ssl-certificate-key #f))))))
+ (root "/srv/http/www.example.com"))))))
@end example
In addition to adding server blocks to the service configuration
@@ -14826,9 +14836,6 @@ blocks, as in this example:
@example
(simple-service 'my-extra-server nginx-service-type
(list (nginx-server-configuration
- (https-port #f)
- (ssl-certificate #f)
- (ssl-certificate-key #f)
(root "/srv/http/extra-website")
(try-files (list "$uri" "$uri/index.html")))))
@end example
@@ -14873,10 +14880,7 @@ HTTPS.
(server-blocks
(list (nginx-server-configuration
(server-name '("www.example.com"))
- (root "/srv/http/www.example.com")
- (https-port #f)
- (ssl-certificate #f)
- (ssl-certificate-key #f))))))
+ (root "/srv/http/www.example.com"))))))
@end example
@item @code{upstream-blocks} (default: @code{'()})
@@ -14899,9 +14903,6 @@ requests with two servers.
(list (nginx-server-configuration
(server-name '("www.example.com"))
(root "/srv/http/www.example.com")
- (https-port #f)
- (ssl-certificate #f)
- (ssl-certificate-key #f)
(locations
(list
(nginx-location-configuration
@@ -14925,6 +14926,13 @@ This can be useful if you have an existing configuration file, or it's
not possible to do what is required through the other parts of the
nginx-configuration record.
+@item @code{server-names-hash-bucket-size} (default: @code{#f})
+Bucket size for the server names hash tables, defaults to @code{#f} to
+use the size of the processors cache line.
+
+@item @code{server-names-hash-bucket-max-size} (default: @code{#f})
+Maximum bucket size for the server names hash tables.
+
@end table
@end deffn
@@ -14933,17 +14941,15 @@ Data type representing the configuration of an nginx server block.
This type has the following parameters:
@table @asis
-@item @code{http-port} (default: @code{80})
-Nginx will listen for HTTP connection on this port. Set it at @code{#f} if
-nginx should not listen for HTTP (non secure) connection for this
-@dfn{server block}.
-
-@item @code{https-port} (default: @code{443})
-Nginx will listen for HTTPS connection on this port. Set it at @code{#f} if
-nginx should not listen for HTTPS (secure) connection for this @dfn{server block}.
+@item @code{listen} (default: @code{'("80" "443 ssl")})
+Each @code{listen} directive sets the address and port for IP, or the
+path for a UNIX-domain socket on which the server will accept requests.
+Both address and port, or only address or only port can be specified.
+An address may also be a hostname, for example:
-Note that nginx can listen for HTTP and HTTPS connections in the same
-@dfn{server block}.
+@example
+'("127.0.0.1:8000" "127.0.0.1" "8000" "*:8000" "localhost:8000")
+@end example
@item @code{server-name} (default: @code{(list 'default)})
A list of server names this server represents. @code{'default} represents the
@@ -14965,17 +14971,20 @@ Nginx will send the list of files in the directory.
A list of files whose existence is checked in the specified order.
@code{nginx} will use the first file it finds to process the request.
-@item @code{ssl-certificate} (default: @code{"/etc/nginx/cert.pem"})
+@item @code{ssl-certificate} (default: @code{#f})
Where to find the certificate for secure connections. Set it to @code{#f} if
you don't have a certificate or you don't want to use HTTPS.
-@item @code{ssl-certificate-key} (default: @code{"/etc/nginx/key.pem"})
+@item @code{ssl-certificate-key} (default: @code{#f})
Where to find the private key for secure connections. Set it to @code{#f} if
you don't have a key or you don't want to use HTTPS.
@item @code{server-tokens?} (default: @code{#f})
Whether the server should add its configuration to response.
+@item @code{raw-content} (default: @code{'()})
+A list of raw lines added to the server block.
+
@end table
@end deftp
@@ -15086,6 +15095,145 @@ capability also has to be configured on the front-end as well.
@end table
@end deftp
+@cindex php-fpm
+PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation
+with some additional features useful for sites of any size.
+
+These features include:
+@itemize @bullet
+@item Adaptive process spawning
+@item Basic statistics (similar to Apache's mod_status)
+@item Advanced process management with graceful stop/start
+@item Ability to start workers with different uid/gid/chroot/environment
+and different php.ini (replaces safe_mode)
+@item Stdout & stderr logging
+@item Emergency restart in case of accidental opcode cache destruction
+@item Accelerated upload support
+@item Support for a "slowlog"
+@item Enhancements to FastCGI, such as fastcgi_finish_request() -
+a special function to finish request & flush all data while continuing to do
+something time-consuming (video converting, stats processing, etc.)
+@end itemize
+... and much more.
+
+@defvr {Scheme Variable} php-fpm-service-type
+A Service type for @code{php-fpm}.
+@end defvr
+
+@deftp {Data Type} php-fpm-configuration
+Data Type for php-fpm service configuration.
+@table @asis
+@item @code{php} (default: @code{php})
+The php package to use.
+@item @code{socket} (default: @code{(string-append "/var/run/php" (version-major (package-version php)) "-fpm.sock")})
+The address on which to accept FastCGI requests. Valid syntaxes are:
+@table @asis
+@item @code{"ip.add.re.ss:port"}
+Listen on a TCP socket to a specific address on a specific port.
+@item @code{"port"}
+Listen on a TCP socket to all addresses on a specific port.
+@item @code{"/path/to/unix/socket"}
+Listen on a unix socket.
+@end table
+
+@item @code{user} (default: @code{php-fpm})
+User who will own the php worker processes.
+@item @code{group} (default: @code{php-fpm})
+Group of the worker processes.
+@item @code{socket-user} (default: @code{php-fpm})
+User who can speak to the php-fpm socket.
+@item @code{socket-group} (default: @code{php-fpm})
+Group that can speak to the php-fpm socket.
+@item @code{pid-file} (default: @code{(string-append "/var/run/php" (version-major (package-version php)) "-fpm.pid")})
+The process id of the php-fpm process is written to this file
+once the service has started.
+@item @code{log-file} (default: @code{(string-append "/var/log/php" (version-major (package-version php)) "-fpm.log")})
+Log for the php-fpm master process.
+@item @code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})
+Detailed settings for the php-fpm process manager.
+Must be either:
+@table @asis
+@item @code{<php-fpm-dynamic-process-manager-configuration>}
+@item @code{<php-fpm-static-process-manager-configuration>}
+@item @code{<php-fpm-on-demand-process-manager-configuration>}
+@end table
+@item @code{display-errors} (default @code{#f})
+Determines wether php errors and warning should be sent to clients
+and displayed in their browsers.
+This is useful for local php development, but a security risk for public sites,
+as error messages can reveal passwords and personal data.
+@item @code{workers-logfile} (default @code{(string-append "/var/log/php" (version-major (package-version php)) "-fpm.www.log")})
+This file will log the @code{stderr} outputs of php worker processes.
+Can be set to @code{#f} to disable logging.
+@item @code{file} (default @code{#f})
+An optional override of the whole configuration.
+You can use the @code{mixed-text-file} function or an absolute filepath for it.
+@end table
+@end deftp
+
+@deftp {Data type} php-fpm-dynamic-process-manager-configuration
+Data Type for the @code{dynamic} php-fpm process manager. With the
+@code{dynamic} process manager, spare worker processes are kept around
+based on it's configured limits.
+@table @asis
+@item @code{max-children} (default: @code{5})
+Maximum of worker processes.
+@item @code{start-servers} (default: @code{2})
+How many worker processes should be started on start-up.
+@item @code{min-spare-servers} (default: @code{1})
+How many spare worker processes should be kept around at minimum.
+@item @code{max-spare-servers} (default: @code{3})
+How many spare worker processes should be kept around at maximum.
+@end table
+@end deftp
+
+@deftp {Data type} php-fpm-static-process-manager-configuration
+Data Type for the @code{static} php-fpm process manager. With the
+@code{static} process manager, an unchanging number of worker processes
+are created.
+@table @asis
+@item @code{max-children} (default: @code{5})
+Maximum of worker processes.
+@end table
+@end deftp
+
+@deftp {Data type} php-fpm-on-demand-process-manager-configuration
+Data Type for the @code{on-demand} php-fpm process manager. With the
+@code{on-demand} process manager, worker processes are only created as
+requests arrive.
+@table @asis
+@item @code{max-children} (default: @code{5})
+Maximum of worker processes.
+@item @code{process-idle-timeout} (default: @code{10})
+The time in seconds after which a process with no requests is killed.
+@end table
+@end deftp
+
+
+@deffn {Scheme Procedure} nginx-php-fpm-location @
+ [#:nginx-package nginx] @
+ [socket (string-append "/var/run/php" @
+ (version-major (package-version php)) @
+ "-fpm.sock")]
+A helper function to quickly add php to an @code{nginx-server-configuration}.
+@end deffn
+
+A simple services setup for nginx with php can look like this:
+@example
+(services (cons* (dhcp-client-service)
+ (service php-fpm-service-type)
+ (service nginx-service-type
+ (nginx-server-configuration
+ (server-name '("example.com"))
+ (root "/srv/http/")
+ (locations
+ (list (nginx-php-location)))
+ (https-port #f)
+ (ssl-certificate #f)
+ (ssl-certificate-key #f)))
+ %base-services))
+@end example
+
@node Certificate Services
@subsubsection Certificate Services
@@ -15206,7 +15354,7 @@ and one slave, is:
(operating-system
;; ...
(services (cons* (service knot-service-type
- (knot-confifguration
+ (knot-configuration
(remotes (list plop-master))
(zones (list master-zone slave-zone))))
;; ...
@@ -17545,7 +17693,7 @@ serve the default @file{/srv/git} over HTTPS might be:
(server-blocks
(list
(nginx-server-configuration
- (http-port #f)
+ (listen '("443 ssl"))
(server-name "git.my-host.org")
(ssl-certificate
"/etc/letsencrypt/live/git.my-host.org/fullchain.pem")
@@ -18228,7 +18376,6 @@ system.
A possibly empty list of @code{menu-entry} objects (see below), denoting
entries to appear in the bootloader menu, in addition to the current
system entry and the entry pointing to previous system generations.
-generations.
@item @code{default-entry} (default: @code{0})
The index of the default boot menu entry. Index 0 is for the entry of the
@@ -18609,6 +18756,14 @@ Build Options}). In addition, @var{options} can contain one of the
following:
@table @option
+@item --expression=@var{expr}
+@itemx -e @var{expr}
+Consider the operating-system @var{expr} evaluates to.
+This is an alternative to specifying a file which evaluates to an
+operating system.
+This is used to generate the GuixSD installer @pxref{Building the
+Installation Image}).
+
@item --system=@var{system}
@itemx -s @var{system}
Attempt to build for @var{system} instead of the host system type.

etc/snippets/scheme-mode/guix-cvs-reference

View file
diff --git a/etc/snippets/scheme-mode/guix-cvs-reference b/etc/snippets/scheme-mode/guix-cvs-reference
new file mode 100644
index 0000000..fbc5034
--- /dev/null
+++ b/etc/snippets/scheme-mode/guix-cvs-reference
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: guix-cvs-reference
+# key: cvs-reference...
+# --
+(cvs-reference
+ (root-directory "${1:root-directory}")
+ (module "${2:module}")
+ (revision "${3:revision}"))
\ No newline at end of file

etc/snippets/scheme-mode/guix-git-reference

View file
diff --git a/etc/snippets/scheme-mode/guix-git-reference b/etc/snippets/scheme-mode/guix-git-reference
new file mode 100644
index 0000000..29ca6a9
--- /dev/null
+++ b/etc/snippets/scheme-mode/guix-git-reference
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: guix-git-reference
+# key: git-reference...
+# --
+(git-reference
+ (url "$1")
+ (commit ${2:commit}))
\ No newline at end of file

etc/snippets/scheme-mode/guix-hg-reference

View file
diff --git a/etc/snippets/scheme-mode/guix-hg-reference b/etc/snippets/scheme-mode/guix-hg-reference
new file mode 100644
index 0000000..95de16d
--- /dev/null
+++ b/etc/snippets/scheme-mode/guix-hg-reference
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: guix-hg-reference
+# key: hg-reference...
+# --
+(hg-reference
+ (url "$1")
+ (changeset ${2:changeset}))
\ No newline at end of file

etc/snippets/scheme-mode/guix-origin

View file
diff --git a/etc/snippets/scheme-mode/guix-origin b/etc/snippets/scheme-mode/guix-origin
new file mode 100644
index 0000000..68d4713
--- /dev/null
+++ b/etc/snippets/scheme-mode/guix-origin
@@ -0,0 +1,23 @@
+# -*- mode: snippet -*-
+# name: guix-origin
+# key: origin...
+# --
+(origin
+ (method ${1:$$(yas-choose-value "url-fetch"
+ "url-fetch/tarbomb"
+ "url-fetch/zipbomb"
+ "cvs-fetch"
+ "git-fetch"
+ "hg-fetch"
+ "svn-fetch")})
+ (uri ${1:$(cond ((equal yas-text "git-fetch") "git-reference...")
+ ((equal yas-text "svn-fetch") "svn-reference...")
+ ((equal yas-text "hg-fetch") "hg-reference...")
+ ((equal yas-text "cvs-fetch") "cvs-reference...")
+ (t "(string-append \\"https://\\" version \\".tar.gz\\")"))}$0)
+ ${1:$(cond ((member yas-text '("git-fetch" "svn-fetch" "hg-fetch" "cvs-fetch"))
+ "(file-name (string-append name \\"-\\" version \\"-checkout\\"))")
+ (t ""))}
+ (sha256
+ (base32
+ "$2")))
\ No newline at end of file

etc/snippets/scheme-mode/guix-package

View file
diff --git a/etc/snippets/scheme-mode/guix-package b/etc/snippets/scheme-mode/guix-package
new file mode 100644
index 0000000..d392e82
--- /dev/null
+++ b/etc/snippets/scheme-mode/guix-package
@@ -0,0 +1,34 @@
+# -*- mode: snippet -*-
+# name: guix-package
+# key: package...
+# --
+(define-public $1
+ (package
+ (name "$1")
+ (version "$2")
+ (source origin...$0)
+ (build-system ${3:$$(yas-choose-value "ant-build-system"
+ "asdf-build-system"
+ "cargo-build-system"
+ "cmake-build-system"
+ "dub-build-system"
+ "emacs-build-system"
+ "font-build-system"
+ "glib-or-gtk-build-system"
+ "gnu-build-system"
+ "go-build-system"
+ "haskell-build-system"
+ "meson-build-system"
+ "minify-build-system"
+ "ocaml-build-system"
+ "perl-build-system"
+ "python-build-system"
+ "r-build-system"
+ "ruby-build-system"
+ "texlive-build-system"
+ "trivial-build-system"
+ "waf-build-system")})
+ (home-page "$4")
+ (synopsis "$5")
+ (description "$6")
+ (license $7)))
\ No newline at end of file

etc/snippets/scheme-mode/guix-svn-reference

View file
diff --git a/etc/snippets/scheme-mode/guix-svn-reference b/etc/snippets/scheme-mode/guix-svn-reference
new file mode 100644
index 0000000..7d897dc
--- /dev/null
+++ b/etc/snippets/scheme-mode/guix-svn-reference
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: guix-svn-reference
+# key: svn-reference...
+# --
+(svn-reference
+ (url "$1")
+ (revision ${2:svn-revision}))
\ No newline at end of file

etc/snippets/text-mode/guix-commit-message-add-package

View file
diff --git a/etc/snippets/text-mode/guix-commit-message-add-package b/etc/snippets/text-mode/guix-commit-message-add-package
new file mode 100644
index 0000000..1aebe8a
--- /dev/null
+++ b/etc/snippets/text-mode/guix-commit-message-add-package
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: guix-commit-message-add-package
+# key: add
+# condition: git-commit-mode
+# --

This diff is incomplete. Download the complete patch.

etc/snippets/text-mode/guix-commit-message-update-package

View file

This diff is incomplete. Download the complete patch.

gnu/bootloader/extlinux.scm

View file

This diff is incomplete. Download the complete patch.

gnu/bootloader/u-boot.scm

View file

This diff is incomplete. Download the complete patch.

gnu/build/bootloader.scm

View file

This diff is incomplete. Download the complete patch.

gnu/build/linux-boot.scm

View file

This diff is incomplete. Download the complete patch.

gnu/build/vm.scm

View file

This diff is incomplete. Download the complete patch.

gnu/local.mk

View file

This diff is incomplete. Download the complete patch.

gnu/packages/algebra.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/aspell.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/audio.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/axoloti.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/backup.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/bioinformatics.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/build-tools.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/chez.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/code.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/compression.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/cran.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/crypto.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/cups.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/databases.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/datastructures.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/dictionaries.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/emacs.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/embedded.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/erlang.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/fontutils.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/fvwm.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/game-development.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/games.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gl.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gnome.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gnunet.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gnupg.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gnuzilla.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/graph.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gstreamer.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gtk.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/guile.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/haskell.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/image.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/imagemagick.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/jemalloc.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/kde.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/language.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/linux.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/machine-learning.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/mail.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/maths.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/messaging.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/mpd.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/music.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/networking.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/nutrition.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/package-management.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/password-utils.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/borg-fix-archive-corruption-bug.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/eigen-arm-neon-fixes.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-11403+CVE-2017-14103.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-12935.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-12936.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-12937.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-13775.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-13776+CVE-2017-13777.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-14042.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-14165.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/graphicsmagick-CVE-2017-14649.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/jemalloc-arm-address-bits.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/libvdpau-va-gl-unbundle.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/picprog-non-intel-support.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/python-scikit-learn-fix-test-non-determinism.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/qemu-CVE-2017-15118.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/qemu-CVE-2017-15119.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/qemu-CVE-2017-15268.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/rsync-CVE-2017-16548.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/rsync-CVE-2017-17433-fix-tests.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/rsync-CVE-2017-17433.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/rsync-CVE-2017-17434-pt1.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/rsync-CVE-2017-17434-pt2.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/t1lib-CVE-2011-1552+.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/perl-check.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/perl.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/photo.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/popt.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/python.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/rsync.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/ruby.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/rust.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/search.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/security-token.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/shells.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/skarnet.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/sml.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/statistics.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/tcl.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/terminals.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/tex.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/text-editors.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/tls.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/upnp.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/version-control.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/video.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/virtualization.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/web.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/wine.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/wm.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/xdisorg.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/xfig.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/xorg.scm

View file

This diff is incomplete. Download the complete patch.

gnu/services.scm

View file

This diff is incomplete. Download the complete patch.

gnu/services/base.scm

View file

This diff is incomplete. Download the complete patch.

gnu/services/certbot.scm

View file

This diff is incomplete. Download the complete patch.

gnu/services/version-control.scm

View file

This diff is incomplete. Download the complete patch.

gnu/services/web.scm

View file

This diff is incomplete. Download the complete patch.

gnu/system/examples/beaglebone-black.tmpl

View file

This diff is incomplete. Download the complete patch.

gnu/system/install.scm

View file

This diff is incomplete. Download the complete patch.

gnu/system/vm.scm

View file

This diff is incomplete. Download the complete patch.

gnu/tests/version-control.scm

View file

This diff is incomplete. Download the complete patch.

gnu/tests/web.scm

View file

This diff is incomplete. Download the complete patch.

guix/build-system/asdf.scm

View file

This diff is incomplete. Download the complete patch.

guix/build/ant-build-system.scm

View file

This diff is incomplete. Download the complete patch.

guix/build/download.scm

View file

This diff is incomplete. Download the complete patch.

guix/derivations.scm

View file

This diff is incomplete. Download the complete patch.

guix/gexp.scm

View file

This diff is incomplete. Download the complete patch.

guix/gnu-maintenance.scm

View file

This diff is incomplete. Download the complete patch.

guix/licenses.scm

View file

This diff is incomplete. Download the complete patch.

guix/man-db.scm

View file

This diff is incomplete. Download the complete patch.

guix/memoization.scm

View file

This diff is incomplete. Download the complete patch.

guix/profiles.scm

View file

This diff is incomplete. Download the complete patch.

guix/profiling.scm

View file

This diff is incomplete. Download the complete patch.

guix/progress.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/archive.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/copy.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/environment.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/gc.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/lint.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/offload.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/pack.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/package.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/pull.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/system.scm

View file

This diff is incomplete. Download the complete patch.

guix/store.scm

View file

This diff is incomplete. Download the complete patch.

guix/ui.scm

View file

This diff is incomplete. Download the complete patch.

guix/utils.scm

View file

This diff is incomplete. Download the complete patch.

po/packages/hu.po

View file

This diff is incomplete. Download the complete patch.

tests/guix-gc.sh

View file

This diff is incomplete. Download the complete patch.

tests/lint.scm

View file

This diff is incomplete. Download the complete patch.