Maxim Cournoyer
41f27bf870
guix: system: Make disk-image root file system non-volatile by default.
...
And add a new '--volatile' option to have it volatile otherwise.
* guix/scripts/system.scm (%options)[volatile-root?]: New boolean option.
(%default-options): Set its default value to #f.
(show-help): Add help doc.
* guix/scripts/system.scm (perform-action): Propagate option...
(system-derivation-for-action): ...here. Use it to set the volatile-root?
field of the image object passed to SYSTEM-IMAGE.
* doc/guix.texi (Invoking guix system): Document it.
2020-11-17 15:20:03 -05:00
Maxim Cournoyer
ac96f2c836
doc: Detail which bootloader get used with disk-image or vm-image.
...
* doc/guix.texi (Invoking guix system): Extend doc.
2020-11-17 15:20:03 -05:00
Maxim Cournoyer
b0afa3c5f6
bootloader: grub: Skip install-grub-efi when producing a disk image.
...
Fixes <http://issues.guix.gnu.org/44353 >.
Every bootloader should try their best to install themselves using only the
MOUNT-POINT and otherwise do nothing. This requirement comes from the
necessity to call INSTALL-GRUB when installing the (non-EFI) GRUB bootloader,
which needs to populate the root file system with extra modules that cannot be
fit in the core.img file, limited in size to 491520 bytes (by the i386-pc
format required for legacy BIOS compatibility).
As introducing bootloader knowledge at the level of the image code is
undesirable, every bootloader should be adapted to support this fall-back for
their installation procedure (TODO).
* gnu/bootloader/grub.scm (install-grub-efi)[efi-dir]: Skip when the EFI-DIR
argument is set to #f.
2020-11-17 15:20:03 -05:00
Maxim Cournoyer
1ec366cdfd
image: Remove conflicting user-provided EFI file system.
...
When the image type is "raw" or derived from it (such as "qcow2"), an ESP
partition and file system is already added by the image generator. If a
conflicting user-provided EFI file system is provided, it causes the boot to
fail, as happens for the lightweight-desktop.tmpl and desktop.tmpl templates
under gnu/system/examples.
* gnu/system/image.scm (operating-system-for-image): Remove file systems whose
mount point is "/boot/efi".
2020-11-17 15:20:02 -05:00
Tanguy Le Carrour
82ffc79f8a
gnu: Add astroid.
...
* gnu/packages/mail.scm (astroid): New variable.
Co-authored with Efraim Flashner <efraim@flashner.co.il>.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-11-17 21:38:06 +02:00
Tanguy Le Carrour
e9654ef1bf
gnu: gmime: Enable introspection.
...
* gnu/packages/mail.scm (gmime)[arguments]: Add the "--enable-introspection"
flag to configure-flags.
[native-inputs]: Add gobject-introspection.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-11-17 21:38:05 +02:00
Tobias Geerinckx-Rice
c622849691
gnu: libhandy: Update to 1.0.2.
...
* gnu/packages/gnome.scm (libhandy): Update to 1.0.2.
2020-11-17 20:29:21 +01:00
Tobias Geerinckx-Rice
f648695b76
gnu: libhandy: Update home page.
...
* gnu/packages/gnome.scm (libhandy)[home-page]: Update.
2020-11-17 20:29:21 +01:00
Tobias Geerinckx-Rice
1cf5d2cf21
gnu: arc-theme: Add missing configure flag.
...
* gnu/packages/gnome.scm (arc-theme)[arguments]: Add ‘--disable-cinnamon’
to #:configure-flags.
2020-11-17 20:29:21 +01:00
Jonathan Brielmaier
aa11334ab0
gnu: node@10.22: Update to 10.22.1.
...
* gnu/packages/node.scm (node-10.22): Update to 10.22.1.
2020-11-17 19:28:12 +01:00
Mathieu Othacehe
3d3ffb30f9
installer: Fix device synchronization.
...
Reported by Florian Pelz:
https://lists.gnu.org/archive/html/guix-devel/2020-11/msg00326.html .
* gnu/installer/utils.scm (call-with-time): New procedure,
(let/time): new macro.
* gnu/installer/parted.scm (with-delay-device-in-use?): Increase the retry
count to 16.
(non-install-devices): Remove the call to with-delay-device-in-use? as it
doesn't return the expected result, and would block much longer now.
(free-parted): Log the time required to sync each device.
2020-11-17 19:10:14 +01:00
Eric Bavier
3aec121e95
gnu: tomb: Update to 2.8.
...
Fixes CVE-2020-28638.
* gnu/packages/crypto.scm (tomb): Update to 2.8
[source]: Remove obsolete patch.
* gnu/packages/patches/tomb-fix-errors-on-open.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2020-11-17 09:52:04 -06:00
Stefan
ede4117f7f
gnu: bootloader: efi-bootloader-chain: Allow multiple HOOKS.
...
* gnu/bootloader.scm (efi-bootloader-profile): Allow multiple HOOKS.
(efi-bootloader-chain): Allow multiple HOOKS.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-11-17 16:03:03 +01:00
Pierre Neidhardt
841bc2df97
gnu: emacs-helm: Update to 3.7.0.
...
* gnu/packages/emacs-xyz.scm (emacs-helm): Update to 3.7.0.
2020-11-17 12:47:34 +01:00
Nicolas Goaziou
ad56bd1d28
gnu: emacs-djvu: Update to 1.1.1.
...
* gnu/packages/emacs-xyz.scm (emacs-djvu): Update to 1.1.1.
2020-11-17 10:21:48 +01:00
Tobias Geerinckx-Rice
dc14cbda51
gnu: enet: Update to 1.3.17.
...
* gnu/packages/networking.scm (enet): Update to 1.3.17.
2020-11-17 04:45:31 +01:00
Tobias Geerinckx-Rice
7a8dead250
gnu: mpop: Update to 1.4.11.
...
* gnu/packages/mail.scm (mpop): Update to 1.4.11.
2020-11-17 04:45:30 +01:00
Tobias Geerinckx-Rice
71bb7332d8
gnu: livemedia-utils: Cross-compile.
...
* gnu/packages/video.scm (livemedia-utils)[arguments]: Use CC-FOR-TARGET
and CXX-FOR-TARGET.
2020-11-17 04:45:30 +01:00
Tobias Geerinckx-Rice
0ac2e11b4b
gnu: livemedia-utils: Update to 2020.11.05.
...
* gnu/packages/video.scm (livemedia-utils): Update to 2020.11.05.
[inputs]: Add openssl.
2020-11-17 04:45:30 +01:00
Tobias Geerinckx-Rice
76ad954734
gnu: wireguard-linux-compat: Update to 1.0.20201112.
...
* gnu/packages/vpn.scm (wireguard-linux-compat): Update to 1.0.20201112.
[arguments]: Build with linux-libre-5.4.
2020-11-17 04:45:30 +01:00
Tobias Geerinckx-Rice
79e27dcd48
gnu: arc-theme: Update to 20201013.
...
* gnu/packages/gnome.scm (arc-theme): Update to 20201013.
[source]: Use new upstream.
2020-11-17 04:45:30 +01:00
Tobias Geerinckx-Rice
da384d993b
gnu: python-pypika: Update to 0.44.0.
...
* gnu/packages/databases.scm (python-pypika): Update to 0.44.0.
2020-11-17 04:45:30 +01:00
Tobias Geerinckx-Rice
0fecc6ce67
gnu: python-peewee: Update to 3.14.0.
...
* gnu/packages/databases.scm (python-peewee): Update to 3.14.0.
2020-11-17 04:45:30 +01:00
Tobias Geerinckx-Rice
c7e8bfe2ff
gnu: xsimd: Define SIMD.
...
* gnu/packages/cpp.scm (xsimd)[description]: Expand the @acronym.
2020-11-17 04:45:29 +01:00
Tobias Geerinckx-Rice
902e944ef7
gnu: xsimd: Update to 7.4.9.
...
* gnu/packages/cpp.scm (xsimd): Update to 7.4.9.
2020-11-17 04:45:29 +01:00
Tobias Geerinckx-Rice
f3effa5132
gnu: gnu-pw-mgr: Update to 2.7.4.
...
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 2.7.4.
2020-11-17 04:45:29 +01:00
Tobias Geerinckx-Rice
71456036de
gnu: youtube-dl: Update to 2020.11.17.
...
* gnu/packages/video.scm (youtube-dl): Update to 2020.11.17.
2020-11-17 04:45:29 +01:00
Tobias Geerinckx-Rice
7661f82d97
gnu: pdfpc: Update to 4.4.1.
...
* gnu/packages/pdf.scm (pdfpc): Update to 4.4.1.
2020-11-17 04:45:29 +01:00
Martin Becze
dc2de508a3
gnu: z3: Update to 4.8.9.
...
* gnu/packages/maths.scm (z3): Update to 4.8.9.
Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-11-16 21:19:45 +00:00
Miguel Ángel Arruga Vivas
46ce24fb2d
gnu: git: Add phase to restore hooks shebang.
...
Fixes <https://bugs.gnu.org/25508 >.
* gnu/packages/version-control.scm (git)[arguments]: New phase
restore-sample-hooks-shebang.
2020-11-16 21:48:36 +01:00
Miguel Ángel Arruga Vivas
3428c66c5a
.dir-locals.el: Add upstream report link.
...
Follow up from 1d6e7732b1
.
* .dir-locals.el: Modify comment to point at the report to bug-gnu-emacs.
2020-11-16 21:48:30 +01:00
Efraim Flashner
34a6f12351
gnu: grub: Cross-compile for mips64el-linux.
...
* gnu/packages/bootloaders.scm (grub)[arguments]: Add custom phase to
set BUILD_FREETYPE_* flags.
[native-inputs]: Add freetype.
2020-11-16 22:38:15 +02:00
Efraim Flashner
66f769122f
gnu: grub: Don't run tests when cross compiling.
...
* gnu/packages/bootloaders.scm (grub)[arguments]: Skip tests when
cross-compiling.
2020-11-16 22:38:15 +02:00
AuPath
4ef38c806d
gnu: Add emacs-boon.
...
* gnu/packages/emacs-xyz.scm (emacs-boon): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-11-16 20:19:53 +01:00
AuPath
322faf8e99
gnu: Add emacs-modalka.
...
* gnu/packages/emacs-xyz.scm (emacs-modalka): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-11-16 20:11:00 +01:00
Michael Rohleder
56003edef8
gnu: emacs-matrix-client: Update to 0.0.0-5.59c7924.
...
* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Update to 0.0.0-5.59c7924.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-11-16 19:46:04 +01:00
Christopher Lemmer Webber
a895eace11
.dir-locals.el: Use setq-local on guix-directory.
...
* .dir-locals.el: Use setq-local on guix-directory. While a problem with
using setq hasn't been identified, this seems like good hygiene.
2020-11-16 13:06:27 -05:00
Christopher Lemmer Webber
1d6e7732b1
.dir-locals.el: Prevent errors if .dir-locals.el isn't found.
...
While this repo should presumably always have a .dir-locals.el
by the nature of this file itself, it seems that this behavior "leaks".
See added comment for more details on the fix to this strange bug,
which is likely an upstream emacs or vc-mode issue.
Thanks to Miguel Ángel Arruga Vivas and Maxim Cournoyer for helping
investigate this problem.
* .dir-locals.el: Don't error out if .dir-locals.el isn't found.
2020-11-16 13:04:38 -05:00
Jonathan Brielmaier
f609369840
gnu: icedove: Update to 78.4.3.
...
* gnu/packages/gnuzilla.scm (icedove): Update to 78.4.3.
2020-11-16 17:38:29 +01:00
Danny Milosavljevic
f2c6375449
gnu: gcc-vc4: Update to commit 0fe4b83897341742f9df65797474cb0feab4b377.
...
* gnu/packages/patches/gcc-6-fix-buffer-size.patch: New file.
* gnu/packages/patches/gcc-6-fix-isl-includes.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/embedded.scm (gcc-vc4): Update to commit
0fe4b83897341742f9df65797474cb0feab4b377.
[source]: Add the patches from above.
2020-11-16 15:02:48 +01:00
Efraim Flashner
455daf46ad
gnu: pzstd: Cross compile.
...
* gnu/packages/compression.scm (pzstd)[arguments]: use cc-for-target,
cxx-for-target in make-flags.
[native-inputs]: Only use googletest when compiling natively.
[inputs]: Add googletest when cross compiling.
2020-11-16 15:10:30 +02:00
Efraim Flashner
9f58c83c3a
gnu: zstd: Cross compile.
...
* gnu/packages/compression.scm (zstd)[arguments]: When targeting another
system use cc-for-target in make-flags.
2020-11-16 14:47:37 +02:00
Efraim Flashner
40b52444bb
gnu: bsdiff: Cross compile.
...
* gnu/packages/compression.scm (bsdiff)[arguments]: Use cc-for-target in
make-flags.
2020-11-16 14:40:50 +02:00
Efraim Flashner
c0040f0ed0
gnu: squashfs-tools: Cross compile.
...
* gnu/packages/compression.scm (squashfs-tools)[arguments]: Use
cc-for-target in make-flags.
2020-11-16 14:39:41 +02:00
Efraim Flashner
dfb4a28575
gnu: lz4: Cross compile.
...
* gnu/packages/compression.scm (lz4)[arguments]: When targeting another
system use cc-for-target in make-flags.
2020-11-16 14:38:57 +02:00
Efraim Flashner
60587450e0
gnu: bam: Cross-compile.
...
* gnu/packages/build-tools.scm (bam)[arguments]: Use cc-for-target in
make-flags.
2020-11-16 14:17:27 +02:00
Efraim Flashner
50836eb724
gnu: lua: Cross compile.
...
* gnu/packages/lua.scm (lua)[arguments]: Use cc-for-target in
make-flags. Set SYSLIBS to include readline.
2020-11-16 14:16:52 +02:00
Efraim Flashner
1f048676b6
gnu: premake4: Cross compile.
...
* gnu/packages/build-tools.scm (premake4)[arguments]: Use cc-for-target
in make-flags.
2020-11-16 14:08:27 +02:00
Efraim Flashner
40e9545632
gnu: unifdef: Cross compile.
...
* gnu/packages/c.scm (unifdef)[arguments]: Use cc-for-target in
make-flags.
2020-11-16 14:03:05 +02:00
Efraim Flashner
6cc86492db
gnu: dtc: Cross compile.
...
* gnu/packages/bootloaders.scm (dtc)[arguments]: Use cc-for-target in
make-flags. Add custom phase to use correct pkg-config for target.
2020-11-16 13:03:00 +02:00