pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable.
* gnu/packages/aux-files/run-in-namespace.c (struct engine): New type.
(exec_default): New function.
(engines): New variable.
(execution_engine): New function.
(main): Use it instead of calling 'exec_in_user_namespace' and
'exec_with_proot' directly.
* tests/guix-pack-relocatable.sh: Add test with 'GUIX_EXECUTION_ENGINE'.
* doc/guix.texi (Invoking guix pack): Document 'GUIX_EXECUTION_ENGINE'.
store: 'mapm/accumulate-builds' preserves '%current-target-system'.
Fixes <https://bugs.gnu.org/41182>.
* guix/store.scm (mapm/accumulate-builds): Pass #:system and #:target to
'run-with-store'.
* tests/store.scm ("mapm/accumulate-builds, %current-target-system"):
New test.
* tests/guix-pack.sh: Add 'guix pack -d --target' test.
packages: Ensure bags are insensitive to '%current-target-system'.
Fixes a bug whereby a bag's transitive dependencies would depend on the
global '%current-target-system' value.
Partly fixes <https://issues.guix.gnu.org/41182>.
* guix/packages.scm (bag-transitive-inputs)
(bag-transitive-build-inputs, bag-transitive-target-inputs):
Parameterize '%current-target-system'.
* tests/packages.scm ("package->bag, sensitivity to %current-target-system"):
New test.
pack: Do not cross-compile the image building tools.
Until now, something like:
guix pack -f docker --target=arm-linux-gnueabihf
would attempt to cross-compile tar.
* guix/scripts/pack.scm (self-contained-tarball): Pass #:target to
'gexp->derivation'.
(squashfs-image): Use #+ instead of #$ for ARCHIVER. Use 'file-append'
instead of 'string-append'. Pass #:target to 'gexp->derivation'.
(docker-image): Likewise.
gnu: dump1090: Don't hard-code CC=gcc.
* gnu/packages/radio.scm (dump1090)[arguments]: Add 'make-flags' field to set
'CC' to the right compiler, remove 'configure' phase.
gnu: js8call: Fix undefined symbol error when starting the program.
* gnu/packages/radio.scm (js8call)[arguments]: Add 'work-around-runtime-bug'
phase.
gnu: wsjtx: Fix undefined symbol error when starting the program.
* gnu/packages/radio.scm (wsjtx)[arguments]: Add 'work-around-runtime-bug'
phase.
gnu: Add sparse.
* gnu/packages/c.scm (sparse): New variable.
gnu: qemu-minimal: Only build for the host's architecture.
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust
configure-flags so that each architecture only builds for its native
architectures.
[synopsis]: Adjust to clarify it's only for the host's architecture.
gnu: hackrf: Simplify installation instructions.
* gnu/packages/radio.scm (hackrf)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
gnu: rtl-sdr: Simplify installation instructions.
* gnu/packages/radio.scm (rtl-sdr)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
gnu: python-language-server: Update to 0.32.0.
* gnu/packages/python-xyz.scm (python-language-server): Update to 0.32.0,
[propagated-inputs]: Remove PYTHON-JEDI-0.15. Add PYTHON-JEDI.
(python-jedi-0.15, python-parso-0.5): Remove variables.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
gnu: Add emacs-icomplete-vertical.
* gnu/packages/emacs-xyz.scm (emacs-icomplete-vertical): New variable.
gnu: emacs-org-re-reveal: Update to 2.12.2.
[[PGP Signed Part:No public key for 7C7AFFBEFEF2CB25 created at 2020-05-14T11:15:53+0200 using RSA]]
To test this, I made a presentation about guix git workflow in emacs:
https://www.rohleder.de/~mike/guix-workflow/
maybe, its useful for someone.
From 528ccdab63cf399012582450491be6df3d8cc431 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Thu, 14 May 2020 08:16:49 +0000
Subject: [PATCH] gnu: emacs-org-re-reveal: Update to 2.12.2.
* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 2.12.2.
gnu: gcc-arm-none-eabi@7-2018-q2-update: Fix conflicting GCC headers.
This is a follow-up of 7f6d3f395023ff430cf8b7a981d4780698e9d132 and merely
a copy-and-paste of Marius Bakke's fix.
* gnu/packages/embedded.scm (gcc-arm-none-eabi-7-2018-q2-update)[arguments]:
Add phase to remove the default compiler from CPLUS_INCLUDE_PATH.
[native-inputs]: Distinguish GCC-5.
gnu: libblockdev: Set default configuration directory.
Fix error from 'udisks': “Failed to get contents of the config
dir (/etc/libblockdev/conf.d/)Error opening directory
"/etc/libblockdev/conf.d/": No such file or directory.”
* gnu/packages/disk.scm (libblockdev)[arguments]: Add phase
'patch-configuration-directory'.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu: libblockdev: Appease guix lint.
* gnu/packages/disk.scm (libblockdev)[inputs]: Move
gobject-introspection to ...
[native-inputs]: ... here.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu: udisks: Appease guix lint.
The line is too long and HTML docs are build fine without it.
* gnu/packages/freedesktop.scm (udisks)[arguments]: Remove configure
flag '--enable-gtk-doc'.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>