projects/guix·commit 4adb40bf

Merge branch 'master' into core-updates

4adb40bf · Leo Famulari <[email protected]> · 2018-01-11 14:22:50 -08:00

Commit
4adb40bffc0dda8871878283887a0e0cd88d9578
Parents
4610ab7c · 138c0889

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

Changes

116 files changed · +2946 −1042

FileStatusAddDelContent
.dir-locals.elmodified+1−0View file
READMEmodified+2−1View file
config-daemon.acmodified+13−5View file
configure.acmodified+4−0View file
doc/guix.teximodified+184−11View file
gnu/build/linux-boot.scmmodified+9−4View file
gnu/local.mkmodified+11−4View file
gnu/packages/admin.scmmodified+27−0View file
gnu/packages/astronomy.scmmodified+26−23View file
gnu/packages/audio.scmmodified+14−12View file
gnu/packages/backup.scmmodified+6−2View file
gnu/packages/base.scmmodified+3−1View file
gnu/packages/benchmark.scmmodified+3−2View file
gnu/packages/bioinformatics.scmmodified+8−37View file
gnu/packages/bootloaders.scmmodified+75−3View file
gnu/packages/cdrom.scmmodified+6−6View file
gnu/packages/check.scmmodified+41−2View file
gnu/packages/chemistry.scmadded+119−0View file
gnu/packages/code.scmmodified+42−2View file
gnu/packages/commencement.scmmodified+2−1View file
gnu/packages/cpp.scmmodified+3−2View file
gnu/packages/crypto.scmmodified+53−2View file
gnu/packages/curl.scmmodified+11−1View file
gnu/packages/databases.scmmodified+10−15View file
gnu/packages/dictionaries.scmmodified+3−2View file
gnu/packages/dns.scmmodified+22−15View file
gnu/packages/elixir.scmmodified+3−2View file
gnu/packages/emacs.scmmodified+48−22View file
gnu/packages/engineering.scmmodified+12−10View file
gnu/packages/finance.scmmodified+12−7View file
gnu/packages/freedesktop.scmmodified+3−2View file
gnu/packages/ftp.scmmodified+20−6View file
gnu/packages/games.scmmodified+2−2View file
gnu/packages/gnome.scmmodified+47−7View file
gnu/packages/gnucash.scmmodified+4−4View file
gnu/packages/gnuzilla.scmmodified+5−1View file
gnu/packages/gtk.scmmodified+7−7View file
gnu/packages/guile.scmmodified+8−80View file
gnu/packages/haskell-check.scmmodified+5−6View file
gnu/packages/haskell.scmmodified+9−9View file
gnu/packages/image-viewers.scmmodified+2−2View file
gnu/packages/inkscape.scmmodified+4−3View file
gnu/packages/irc.scmmodified+2−2View file
gnu/packages/iso-codes.scmmodified+5−5View file
gnu/packages/libusb.scmmodified+3−2View file
gnu/packages/linux.scmmodified+38−16View file
gnu/packages/logging.scmmodified+12−3View file
gnu/packages/lua.scmmodified+60−0View file
gnu/packages/machine-learning.scmmodified+7−8View file
gnu/packages/mail.scmmodified+2−2View file
gnu/packages/mes.scmmodified+3−3View file
gnu/packages/monitoring.scmmodified+34−0View file
gnu/packages/mp3.scmmodified+0−6View file
gnu/packages/music.scmmodified+164−24View file
gnu/packages/nano.scmmodified+3−2View file
gnu/packages/networking.scmmodified+6−7View file
gnu/packages/ocaml.scmmodified+3−3View file
gnu/packages/package-management.scmmodified+3−3View file
gnu/packages/patches/ao-cad-aarch64-support.patchadded+18−0View file
gnu/packages/patches/guile-bytestructures-name-clash.patchdeleted+0−31View before deletion
gnu/packages/patches/icecat-bug-1427870-spectre-mitigation.patchadded+49−0View file
gnu/packages/patches/ledger-fix-uninitialized.patchadded+27−0View file
gnu/packages/patches/ledger-revert-boost-python-fix.patchadded+39−0View file
gnu/packages/patches/libvorbis-CVE-2017-14632.patchadded+63−0View file
gnu/packages/patches/libvorbis-CVE-2017-14633.patchadded+43−0View file
gnu/packages/patches/newsbeuter-CVE-2017-12904.patchdeleted+0−34View before deletion
gnu/packages/patches/newsbeuter-CVE-2017-14500.patchdeleted+0−43View before deletion
gnu/packages/patches/perl-module-pluggable-search.patchmodified+0−0View file
gnu/packages/patches/webkitgtk-mitigate-spectre.patchadded+107−0View file
gnu/packages/pdf.scmmodified+5−5View file
gnu/packages/perl-check.scmmodified+1−1View file
gnu/packages/perl.scmmodified+3−3View file
gnu/packages/python.scmmodified+54−12View file
gnu/packages/rrdtool.scmmodified+46−24View file
gnu/packages/samba.scmmodified+2−2View file
gnu/packages/serialization.scmmodified+2−2View file
gnu/packages/suckless.scmmodified+5−4View file
gnu/packages/sync.scmmodified+3−2View file
gnu/packages/syncthing.scmmodified+222−189View file
gnu/packages/syndication.scmmodified+6−52View file
gnu/packages/telephony.scmmodified+14−12View file
gnu/packages/textutils.scmmodified+18−25View file
gnu/packages/tor.scmmodified+3−3View file
gnu/packages/version-control.scmmodified+3−3View file
gnu/packages/video.scmmodified+3−3View file
gnu/packages/webkit.scmmodified+3−2View file
gnu/packages/wine.scmmodified+5−6View file
gnu/packages/xdisorg.scmmodified+2−2View file
gnu/packages/xiph.scmmodified+9−0View file
gnu/packages/xml.scmmodified+56−0View file
gnu/packages/xorg.scmmodified+11−8View file
gnu/services/base.scmmodified+69−27View file
gnu/services/monitoring.scmadded+91−0View file
gnu/services/virtualization.scmmodified+266−1View file
gnu/system.scmmodified+1−0View file
gnu/system/linux-initrd.scmmodified+14−6View file
gnu/system/shadow.scmmodified+6−2View file
gnu/system/vm.scmmodified+15−3View file
gnu/tests.scmmodified+8−0View file
guix/derivations.scmmodified+2−2View file
guix/import/crate.scmmodified+3−1View file
guix/import/gem.scmmodified+1−1View file
guix/import/hackage.scmmodified+1−1View file
guix/scripts/publish.scmmodified+86−51View file
guix/serialization.scmmodified+4−4View file
guix/ssh.scmmodified+108−38View file
guix/store.scmmodified+5−3View file
guix/ui.scmmodified+6−0View file
m4/guix.m4modified+21−1View file
nix/libstore/build.ccmodified+69−14View file
nix/libstore/globals.ccmodified+6−2View file
nix/libstore/globals.hhmodified+10−1View file
nix/local.mkmodified+9−3View file
nix/nix-daemon/guix-daemon.ccmodified+24−3View file
tests/guix-daemon.shmodified+37−1View file
tests/publish.scmmodified+28−0View file

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

.dir-locals.el

View file
diff --git a/.dir-locals.el b/.dir-locals.el
index 949f7e0..dac6cb1 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -24,6 +24,7 @@
(eval . (put 'guard 'scheme-indent-function 1))
(eval . (put 'lambda* 'scheme-indent-function 1))
(eval . (put 'substitute* 'scheme-indent-function 1))
+ (eval . (put 'match-record 'scheme-indent-function 2))
;; 'modify-phases' and its keywords.
(eval . (put 'modify-phases 'scheme-indent-function 1))

README

View file
diff --git a/README b/README
index 4192eb4..d96a43b 100644
--- a/README
+++ b/README
@@ -25,13 +25,14 @@ GNU Guix currently depends on the following packages:
- [[https://www.gnu.org/software/make/][GNU Make]]
- [[https://www.gnutls.org][GnuTLS]] compiled with guile support enabled.
- [[https://gitlab.com/guile-git/guile-git][Guile-Git]]
+ - [[http://www.zlib.net/][zlib]]
- optionally [[https://savannah.nongnu.org/projects/guile-json/][Guile-JSON]], for the 'guix import pypi' command
Unless `--disable-daemon' was passed, the following packages are needed:
- [[https://sqlite.org/][SQLite 3]]
- - [[http://www.bzip.org][libbz2]]
- [[https://gcc.gnu.org][GCC's g++]]
+ - optionally [[http://www.bzip.org][libbz2]]
When `--disable-daemon' was passed, you instead need the following:

config-daemon.ac

View file
diff --git a/config-daemon.ac b/config-daemon.ac
index 42b5981..80d84cb 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -18,11 +18,18 @@ if test "x$guix_build_daemon" = "xyes"; then
dnl Use 64-bit file system calls so that we can support files > 2 GiB.
AC_SYS_LARGEFILE
- dnl Look for libbz2, a required dependency.
- AC_CHECK_LIB([bz2], [BZ2_bzWriteOpen], [true],
- [AC_MSG_ERROR([Guix requires libbz2, which is part of bzip2. See http://www.bzip.org/.])])
- AC_CHECK_HEADERS([bzlib.h], [true],
- [AC_MSG_ERROR([Guix requires libbz2, which is part of bzip2. See http://www.bzip.org/.])])
+ dnl Look for zlib, a required dependency.
+ AC_CHECK_LIB([z], [gzdopen], [true],
+ [AC_MSG_ERROR([Guix requires zlib. See http://www.zlib.net/.])])
+ AC_CHECK_HEADERS([zlib.h], [true],
+ [AC_MSG_ERROR([Guix requires zlib. See http://www.zlib.net/.])])
+
+ dnl Look for libbz2, an optional dependency.
+ AC_CHECK_LIB([bz2], [BZ2_bzWriteOpen], [HAVE_LIBBZ2=yes], [HAVE_LIBBZ2=no])
+ if test "x$HAVE_LIBBZ2" = xyes; then
+ AC_CHECK_HEADERS([bzlib.h])
+ HAVE_LIBBZ2="$ac_cv_header_bzlib_h"
+ fi
dnl Look for SQLite, a required dependency.
PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= 3.6.19])
@@ -163,6 +170,7 @@ if test "x$guix_build_daemon" = "xyes"; then
[chmod +x nix/scripts/offload])
fi
+AM_CONDITIONAL([HAVE_LIBBZ2], [test "x$HAVE_LIBBZ2" = "xyes"])
AM_CONDITIONAL([BUILD_DAEMON], [test "x$guix_build_daemon" = "xyes"])
AM_CONDITIONAL([BUILD_DAEMON_OFFLOAD], \
[test "x$guix_build_daemon" = "xyes" \

configure.ac

View file
diff --git a/configure.ac b/configure.ac
index aa70f14..53efa4a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,6 +113,10 @@ AM_CONDITIONAL([HAVE_GUILE_JSON], [test "x$have_guile_json" = "xyes"])
dnl Make sure we have a full-fledged Guile.
GUIX_ASSERT_GUILE_FEATURES([regex posix socket net-db threads])
+dnl Make sure we don't suffer from the bug in 'equal?' wrt. syntax objects
+dnl found in 2.2.1. See <https://bugs.gnu.org/29903>.
+GUIX_ASSERT_SYNTAX_OBJECT_EQUAL
+
dnl Decompressors, for use by the substituter and other modules.
AC_PATH_PROG([GZIP], [gzip])
AC_PATH_PROG([BZIP2], [bzip2])

doc/guix.texi

View file
diff --git a/doc/guix.texi b/doc/guix.texi
index 1d1f30f..6245d54 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -13,7 +13,7 @@
@set OPENPGP-SIGNING-KEY-ID 3CE464558A84FDC69DB40CFB090B11993D9AEBB5
@copying
-Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès@*
+Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@*
Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@*
Copyright @copyright{} 2013 Nikita Karetnikov@*
Copyright @copyright{} 2014, 2015, 2016 Alex Kost@*
@@ -44,7 +44,8 @@ Copyright @copyright{} 2017 Tobias Geerinckx-Rice@*
Copyright @copyright{} 2017 George Clemmer@*
Copyright @copyright{} 2017 Andy Wingo@*
Copyright @copyright{} 2017 Arun Isaac@*
-Copyright @copyright{} 2017 nee
+Copyright @copyright{} 2017 nee@*
+Copyright @copyright{} 2018 Rutger Helling
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -604,6 +605,7 @@ Guile,, gnutls-guile, GnuTLS-Guile});
@c FIXME: Specify a version number once a release has been made.
@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, from August
2017 or later;
+@item @url{http://zlib.net, zlib};
@item @url{http://www.gnu.org/software/make/, GNU Make}.
@end itemize
@@ -625,8 +627,8 @@ Support for build offloading (@pxref{Daemon Offload Setup}) and
version 0.10.2 or later.
@item
-When @url{http://zlib.net, zlib} is available, @command{guix publish}
-can compress build byproducts (@pxref{Invoking guix publish}).
+When @url{http://www.bzip.org, libbz2} is available,
+@command{guix-daemon} can use it to compress build logs.
@end itemize
Unless @code{--disable-daemon} was passed to @command{configure}, the
@@ -634,7 +636,6 @@ following packages are also needed:
@itemize
@item @url{http://sqlite.org, SQLite 3};
-@item @url{http://www.bzip.org, libbz2};
@item @url{http://gcc.gnu.org, GCC's g++}, with support for the
C++11 standard.
@end itemize
@@ -1234,12 +1235,13 @@ processes to gain access to undeclared dependencies. It is necessary,
though, when @command{guix-daemon} is running under an unprivileged user
account.
-@item --disable-log-compression
-Disable compression of the build logs.
+@item --log-compression=@var{type}
+Compress build logs according to @var{type}, one of @code{gzip},
+@code{bzip2}, or @code{none}.
Unless @code{--lose-logs} is used, all the build logs are kept in the
@var{localstatedir}. To save space, the daemon automatically compresses
-them with bzip2 by default. This option disables that.
+them with bzip2 by default.
@item --disable-deduplication
@cindex deduplication
@@ -5619,11 +5621,26 @@ The following derivations will be built:
Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of
the system type of the build host.
+@quotation Note
+The @code{--system} flag is for @emph{native} compilation and must not
+be confused with cross-compilation. See @code{--target} below for
+information on cross-compilation.
+@end quotation
+
An example use of this is on Linux-based systems, which can emulate
different personalities. For instance, passing
-@code{--system=i686-linux} on an @code{x86_64-linux} system allows users
+@code{--system=i686-linux} on an @code{x86_64-linux} system allows you
to build packages in a complete 32-bit environment.
+Similarly, when transparent emulation with QEMU and @code{binfmt_misc}
+is enabled (@pxref{Virtualization Services,
+@code{qemu-binfmt-service-type}}), you can build for any system for
+which a QEMU @code{binfmt_misc} handler is installed.
+
+Builds for a system other than that of the machine you are using can
+also be offloaded to a remote machine of the right architecture.
+@xref{Daemon Offload Setup}, for more information on offloading.
+
@item --target=@var{triplet}
@cindex cross-compilation
Cross-build for @var{triplet}, which must be a valid GNU triplet, such
@@ -5674,6 +5691,7 @@ collection as soon as the build completes. @xref{Invoking guix gc}, for
more on GC roots.
@item --log-file
+@cindex build logs, access
Return the build log file names or URLs for the given
@var{package-or-derivation}, or raise an error if build logs are
missing.
@@ -7066,7 +7084,7 @@ The above commands only use the default output of the given packages.
To select other outputs, two element tuples can be specified:
@example
-guix environment --ad-hoc -e '(list (@ (gnu packages bash) bash) "include")'
+guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) "include")'
@end example
@item --load=@var{file}
@@ -7236,6 +7254,22 @@ http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i
Obviously, these URLs only work for files that are in the store; in
other cases, they return 404 (``Not Found'').
+@cindex build logs, publication
+Build logs are available from @code{/log} URLs like:
+
+@example
+http://example.org/log/gwspk@dots{}-guile-2.2.3
+@end example
+
+@noindent
+When @command{guix-daemon} is configured to save compressed build logs,
+as is the case by default (@pxref{Invoking guix-daemon}), @code{/log}
+URLs return the compressed log as-is, with an appropriate
+@code{Content-Type} and/or @code{Content-Encoding} header. We recommend
+running @command{guix-daemon} with @code{--log-compression=gzip} since
+Web browsers can automatically decompress it, which is not the case with
+bzip2 compression.
+
The following options are available:
@table @code
@@ -9910,6 +9944,10 @@ The number of seconds of silence and the number of seconds of activity,
respectively, after which a build process times out. A value of zero
disables the timeout.
+@item @code{log-compression} (default: @code{'bzip2})
+The type of compression used for build logs---one of @code{gzip},
+@code{bzip2}, or @code{none}.
+
@item @code{extra-options} (default: @code{'()})
List of extra command-line options for @command{guix-daemon}.
@@ -12151,6 +12189,13 @@ limited number of special-purpose system interfaces. Additionally,
adding a service made by @code{mate-desktop-service} adds the MATE
metapackage to the system profile.
+The desktop environments in Guix use the Xorg display server by
+default. If you'd like to use the newer display server protocol
+called Wayland, you need to use the @code{sddm-service} instead of the
+@code{slim-service} for the graphical login manager. You should then
+select the ``GNOME (Wayland)'' session in SDDM. Currently only GNOME
+has support for Wayland.
+
@deffn {Scheme Procedure} gnome-desktop-service
Return a service that adds the @code{gnome} package to the system
profile, and extends polkit with the actions from
@@ -14697,6 +14742,48 @@ the 2nd element of the pair is the password.
@end deftp
+@subsubheading Darkstat Service
+@cindex darkstat
+Darkstat is a packet sniffer that captures network traffic, calculates
+statistics about usage, and serves reports over HTTP.
+
+@defvar {Scheme Variable} darkstat-service-type
+This is the service type for the
+@uref{https://unix4lyfe.org/darkstat/, darkstat}
+service, its value must be a @code{darkstat-configuration} record as in
+this example:
+
+@example
+(service darkstat-service-type
+ (darkstat-configuration
+ (interface "eno1")))
+@end example
+@end defvar
+
+@deftp {Data Type} darkstat-configuration
+Data type representing the configuration of @command{darkstat}.
+
+@table @asis
+@item @code{package} (default: @code{darkstat})
+The darkstat package to use.
+
+@item @code{interface}
+Capture traffic on the specified network interface.
+
+@item @code{port} (default: @code{"667"})
+Bind the web interface to the specified port.
+
+@item @code{bind-address} (default: @code{"127.0.0.1"})
+Bind the web interface to the specified address.
+
+@item @code{base} (default: @code{"/"})
+Specify the path of the base URL. This can be useful if
+@command{darkstat} is accessed via a reverse proxy.
+
+@end table
+@end deftp
+
+
@node Kerberos Services
@subsubsection Kerberos Services
@cindex Kerberos
@@ -16884,8 +16971,10 @@ an absolute path can be specified here.
@node Virtualization Services
@subsubsection Virtualization services
+
The @code{(gnu services virtualization)} module provides services for
-the libvirt and virtlog daemons.
+the libvirt and virtlog daemons, as well as other virtualization-related
+services.
@subsubheading Libvirt daemon
@code{libvirtd} is the server side daemon component of the libvirt
@@ -17588,6 +17677,90 @@ Defaults to @samp{3}
@end deftypevr
+@subsubheading Transparent Emulation with QEMU
+
+@cindex emulation
+@cindex @code{binfmt_misc}
+@code{qemu-binfmt-service-type} provides support for transparent
+emulation of program binaries built for different architectures---e.g.,
+it allows you to transparently execute an ARMv7 program on an x86_64
+machine. It achieves this by combining the @uref{https://www.qemu.org,
+QEMU} emulator and the @code{binfmt_misc} feature of the kernel Linux.
+
+@defvr {Scheme Variable} qemu-binfmt-service-type
+This is the type of the QEMU/binfmt service for transparent emulation.
+Its value must be a @code{qemu-binfmt-configuration} object, which
+specifies the QEMU package to use as well as the architecture we want to
+emulated:
+
+@example
+(service qemu-binfmt-service-type
+ (qemu-binfmt-configuration
+ (platforms (lookup-qemu-platforms "arm" "aarch64" "ppc"))))
+@end example
+
+In this example, we enable transparent emulation for the ARM and aarch64
+platforms. Running @code{herd stop qemu-binfmt} turns it off, and
+running @code{herd start qemu-binfmt} turns it back on (@pxref{Invoking
+herd, the @command{herd} command,, shepherd, The GNU Shepherd Manual}).
+@end defvr
+
+@deftp {Data Type} qemu-binfmt-configuration
+This is the configuration for the @code{qemu-binfmt} service.
+
+@table @asis
+@item @code{platforms} (default: @code{'()})
+The list of emulated QEMU platforms. Each item must be a @dfn{platform
+object} as returned by @code{lookup-qemu-platforms} (see below).
+
+@item @code{guix-support?} (default: @code{#f})
+When it is true, QEMU and all its dependencies are added to the build
+environment of @command{guix-daemon} (@pxref{Invoking guix-daemon,
+@code{--chroot-directory} option}). This allows the @code{binfmt_misc}
+handlers to be used within the build environment, which in turn means
+that you can transparently build programs for another architecture.
+
+For example, let's suppose you're on an x86_64 machine and you have this
+service:
+
+@example
+(service qemu-binfmt-service-type
+ (qemu-binfmt-configuration
+ (platforms (lookup-qemu-platforms "arm"))
+ (qemu-support? #t)))
+@end example
+
+You can run:
+
+@example
+guix build -s armhf-linux inkscape
+@end example
+
+@noindent
+and it will build Inkscape for ARMv7 @emph{as if it were a native
+build}, transparently using QEMU to emulate the ARMv7 CPU. Pretty handy
+if you'd like to test a package build for an architecture you don't have
+access to!
+
+@item @code{qemu} (default: @code{qemu})
+The QEMU package to use.
+@end table
+@end deftp
+
+@deffn {Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}
+Return the list of QEMU platform objects corresponding to
+@var{platforms}@dots{}. @var{platforms} must be a list of strings
+corresponding to platform names, such as @code{"arm"}, @code{"sparc"},
+@code{"mips64el"}, and so on.
+@end deffn
+
+@deffn {Scheme Procedure} qemu-platform? @var{obj}
+Return true if @var{obj} is a platform object.
+@end deffn
+
+@deffn {Scheme Procedure} qemu-platform-name @var{platform}
+Return the name of @var{platform}---a string such as @code{"arm"}.
+@end deffn
@node Version Control Services
@subsubsection Version Control Services

gnu/build/linux-boot.scm

View file
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 4dd7401..997107a 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <[email protected]>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <[email protected]>
;;; Copyright © 2017 Mathieu Othacehe <[email protected]>
;;;
;;; This file is part of GNU Guix.
@@ -430,7 +430,8 @@ bailing out.~%root contents: ~s~%" (scandir "/"))
qemu-guest-networking?
volatile-root?
pre-mount
- (mounts '()))
+ (mounts '())
+ (on-error 'debug))
"This procedure is meant to be called from an initrd. Boot a system by
first loading LINUX-MODULES (a list of module names) from
LINUX-MODULE-DIRECTORY, then setting up QEMU guest networking if
@@ -444,7 +445,10 @@ if any.
MOUNTS must be a list of <file-system> objects.
When VOLATILE-ROOT? is true, the root file system is writable but any changes
-to it are lost."
+to it are lost.
+
+ON-ERROR is passed to 'call-with-error-handling'; it determines what happens
+upon error."
(define (root-mount-point? fs)
(string=? (file-system-mount-point fs) "/"))
@@ -517,6 +521,7 @@ to it are lost."
(begin
(display "no boot file passed via '--load'\n")
(display "entering a warm and cozy REPL\n")
- (start-repl)))))))
+ (start-repl)))))
+ #:on-error on-error))
;;; linux-initrd.scm ends here

gnu/local.mk

View file
diff --git a/gnu/local.mk b/gnu/local.mk
index 7257a8e..ff5fe59 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2,7 +2,7 @@
# Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <[email protected]>
# Copyright © 2013, 2014, 2015, 2016, 2017 Andreas Enge <[email protected]>
# Copyright © 2016 Mathieu Lirzin <[email protected]>
-# Copyright © 2013, 2014, 2015, 2016, 2017 Mark H Weaver <[email protected]>
+# Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Mark H Weaver <[email protected]>
# Copyright © 2016 Chris Marusich <[email protected]>
# Copyright © 2016, 2017 Kei Kebreau <[email protected]>
# Copyright © 2016, 2017 Rene Saavedra <[email protected]>
@@ -16,6 +16,7 @@
# Copyright © 2017 Clément Lassieur <[email protected]>
# Copyright © 2017 Mathieu Othacehe <[email protected]>
# Copyright © 2017 Gábor Boskovits <[email protected]>
+# Copyright © 2018 Amirouche Boubekki <[email protected]>
#
# This file is part of GNU Guix.
#
@@ -87,6 +88,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/cdrom.scm \
%D%/packages/certs.scm \
%D%/packages/check.scm \
+ %D%/packages/chemistry.scm \
%D%/packages/chez.scm \
%D%/packages/ci.scm \
%D%/packages/cinnamon.scm \
@@ -460,6 +462,7 @@ GNU_SYSTEM_MODULES = \
%D%/services/mail.scm \
%D%/services/mcron.scm \
%D%/services/messaging.scm \
+ %D%/services/monitoring.scm \
%D%/services/networking.scm \
%D%/services/nfs.scm \
%D%/services/shepherd.scm \
@@ -541,6 +544,7 @@ dist_patch_DATA = \
%D%/packages/patches/agg-am_c_prototype.patch \
%D%/packages/patches/ansible-wrap-program-hack.patch \
%D%/packages/patches/antiword-CVE-2014-8123.patch \
+ %D%/packages/patches/ao-cad-aarch64-support.patch \
%D%/packages/patches/apr-skip-getservbyname-test.patch \
%D%/packages/patches/aspell-default-dict-dir.patch \
%D%/packages/patches/ath9k-htc-firmware-binutils.patch \
@@ -717,7 +721,6 @@ dist_patch_DATA = \
%D%/packages/patches/gspell-dash-test.patch \
%D%/packages/patches/guile-1.8-cpp-4.5.patch \
%D%/packages/patches/guile-2.2-default-utf8.patch \
- %D%/packages/patches/guile-bytestructures-name-clash.patch \
%D%/packages/patches/guile-default-utf8.patch \
%D%/packages/patches/guile-linux-syscalls.patch \
%D%/packages/patches/guile-present-coding.patch \
@@ -755,6 +758,7 @@ dist_patch_DATA = \
%D%/packages/patches/icecat-bug-1415133.patch \
%D%/packages/patches/icecat-bug-1414945.patch \
%D%/packages/patches/icecat-bug-1424373-pt2.patch \
+ %D%/packages/patches/icecat-bug-1427870-spectre-mitigation.patch \
%D%/packages/patches/id3lib-CVE-2007-4460.patch \
%D%/packages/patches/ilmbase-fix-tests.patch \
%D%/packages/patches/intltool-perl-compatibility.patch \
@@ -783,6 +787,8 @@ dist_patch_DATA = \
%D%/packages/patches/ldc-disable-tests.patch \
%D%/packages/patches/ldc-1.1.0-disable-dmd-tests.patch \
%D%/packages/patches/ldc-1.1.0-disable-phobos-tests.patch \
+ %D%/packages/patches/ledger-fix-uninitialized.patch \
+ %D%/packages/patches/ledger-revert-boost-python-fix.patch \
%D%/packages/patches/liba52-enable-pic.patch \
%D%/packages/patches/liba52-link-with-libm.patch \
%D%/packages/patches/liba52-set-soname.patch \
@@ -832,6 +838,8 @@ dist_patch_DATA = \
%D%/packages/patches/libusb-0.1-disable-tests.patch \
%D%/packages/patches/libusb-for-axoloti.patch \
%D%/packages/patches/libvdpau-va-gl-unbundle.patch \
+ %D%/packages/patches/libvorbis-CVE-2017-14632.patch \
+ %D%/packages/patches/libvorbis-CVE-2017-14633.patch \
%D%/packages/patches/libvpx-CVE-2016-2818.patch \
%D%/packages/patches/libxcb-python-3.5-compat.patch \
%D%/packages/patches/libxslt-generated-ids.patch \
@@ -892,8 +900,6 @@ dist_patch_DATA = \
%D%/packages/patches/netsurf-system-utf8proc.patch \
%D%/packages/patches/netsurf-y2038-tests.patch \
%D%/packages/patches/netsurf-longer-test-timeout.patch \
- %D%/packages/patches/newsbeuter-CVE-2017-12904.patch \
- %D%/packages/patches/newsbeuter-CVE-2017-14500.patch \
%D%/packages/patches/nfs-utils-missing-headers.patch \
%D%/packages/patches/ngircd-handle-zombies.patch \
%D%/packages/patches/ninja-zero-mtime.patch \
@@ -1110,6 +1116,7 @@ dist_patch_DATA = \
%D%/packages/patches/vsearch-unbundle-cityhash.patch \
%D%/packages/patches/vte-CVE-2012-2738-pt1.patch \
%D%/packages/patches/vte-CVE-2012-2738-pt2.patch \
+ %D%/packages/patches/webkitgtk-mitigate-spectre.patch \
%D%/packages/patches/weechat-python.patch \
%D%/packages/patches/wicd-bitrate-none-fix.patch \
%D%/packages/patches/wicd-get-selected-profile-fix.patch \

gnu/packages/admin.scm

View file
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index d90bc7c..81df265 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2017 Ben Sturmfels <[email protected]>
;;; Copyright © 2017 Ethan R. Jones <[email protected]>
;;; Copyright © 2017 Christopher Allan Webber <[email protected]>
+;;; Copyright © 2017 Marius Bakke <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -42,6 +43,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
@@ -756,6 +758,31 @@ console window to allow commands to be interactively run on multiple servers
over ssh connections.")
(license license:gpl2+)))
+(define-public rename
+ (package
+ (name "rename")
+ (version "0.20")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/R/RM/RMBARKER/File-Rename-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1cf6xx2hiy1xalp35fh8g73j67r0w0g66jpcbc6971x9jbm7bvjy"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)
+ ("perl-test-pod" ,perl-test-pod)
+ ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
+ (home-page "https://metacpan.org/pod/distribution/File-Rename/rename.PL")
+ (synopsis "Perl extension for renaming multiple files")
+ (description
+ "This package provides a Perl interface (@code{Perl::Rename}) as well
+as a command-line utility (@command{rename}) that can rename multiple files
+at once based on a Perl regular expression.")
+ (license license:perl-license)))
+
(define-public rottlog
(package
(name "rottlog")

gnu/packages/astronomy.scm

View file
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d21c093..c3a591b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 John Darrington <[email protected]>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -64,7 +65,7 @@ in FITS files.")
(define-public wcslib
(package
(name "wcslib")

This diff is incomplete. Download the complete patch.

gnu/packages/audio.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/base.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/benchmark.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/bootloaders.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/cdrom.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/check.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/chemistry.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/commencement.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/cpp.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/curl.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/dictionaries.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/dns.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/elixir.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/engineering.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/finance.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/freedesktop.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/ftp.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/gnome.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gnucash.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/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-check.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-viewers.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/inkscape.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/irc.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/iso-codes.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/libusb.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/logging.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/lua.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/mes.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/monitoring.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/mp3.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/nano.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/ocaml.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/patches/ao-cad-aarch64-support.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/guile-bytestructures-name-clash.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/icecat-bug-1427870-spectre-mitigation.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/ledger-fix-uninitialized.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/ledger-revert-boost-python-fix.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/libvorbis-CVE-2017-14632.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/libvorbis-CVE-2017-14633.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/newsbeuter-CVE-2017-12904.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/newsbeuter-CVE-2017-14500.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/perl-module-pluggable-search.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/webkitgtk-mitigate-spectre.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/pdf.scm

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/python.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/rrdtool.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/samba.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/serialization.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/suckless.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/sync.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/syncthing.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/syndication.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/telephony.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/textutils.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/tor.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/webkit.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/xdisorg.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/xiph.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/xml.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/base.scm

View file

This diff is incomplete. Download the complete patch.

gnu/services/monitoring.scm

View file

This diff is incomplete. Download the complete patch.

gnu/services/virtualization.scm

View file

This diff is incomplete. Download the complete patch.

gnu/system.scm

View file

This diff is incomplete. Download the complete patch.

gnu/system/linux-initrd.scm

View file

This diff is incomplete. Download the complete patch.

gnu/system/shadow.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.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/import/crate.scm

View file

This diff is incomplete. Download the complete patch.

guix/import/gem.scm

View file

This diff is incomplete. Download the complete patch.

guix/import/hackage.scm

View file

This diff is incomplete. Download the complete patch.

guix/scripts/publish.scm

View file

This diff is incomplete. Download the complete patch.

guix/serialization.scm

View file

This diff is incomplete. Download the complete patch.

guix/ssh.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.

m4/guix.m4

View file

This diff is incomplete. Download the complete patch.

nix/libstore/build.cc

View file

This diff is incomplete. Download the complete patch.

nix/libstore/globals.cc

View file

This diff is incomplete. Download the complete patch.

nix/libstore/globals.hh

View file

This diff is incomplete. Download the complete patch.

nix/local.mk

View file

This diff is incomplete. Download the complete patch.

nix/nix-daemon/guix-daemon.cc

View file

This diff is incomplete. Download the complete patch.

tests/guix-daemon.sh

View file

This diff is incomplete. Download the complete patch.

tests/publish.scm

View file

This diff is incomplete. Download the complete patch.