Ludovic Courtès
8b18f5cb30
tests: Use the same source as ci.guix.gnu.org.
...
* etc/system-tests.scm (system-test-manifest): In 'local-file' call, use
a name that is a function of COMMIT to match what Cuirass does.
2020-03-23 00:06:58 +01:00
Alexandru-Sergiu Marton
d4842a7c47
gnu: i3-gaps: Update to 4.18.
...
* gnu/packages/wm.scm (i3-gaps): Update to 1.18.
Signed-off-by: Leo Famulari <leo@famulari.name>
2020-03-22 17:21:33 -04:00
Leo Famulari
268efd97c2
gnu: Remove qemu-minimal-2.10.
...
* gnu/packages/virtualization.scm (qemu-minimal-2.10): Remove variable.
* gnu/packages/debug.scm (qemu-for-american-fuzzy-lop): New variable.
(american-fuzzy-lop)[inputs]: Remove custom-qemu and add
qemu-for-american-fuzzy-lop.
[arguments]: Adjust reference to QEMU in the 'install-qemu' phase.
2020-03-22 14:26:31 -04:00
Leo Famulari
c9164d3098
gnu: Prefix licenses in (gnu packages debug).
...
* gnu/packages/debug.scm: Add a license prefix.
2020-03-22 14:26:31 -04:00
Guillaume Le Vaillant
e6a0cd9aa1
gnu: electron-cash: Update to 4.0.13.
...
This package was inheriting from electrum, but as now almost all the fields
have differences, let's make these two packages independent from each other.
* gnu/packages/finance.scm (electron-cash): Update to 4.0.13.
[inputs]: Add libevent, openssl, python-cython, python-hidapi,
python-keepkey, python-stem, python-trezor, qtsvg and zlib.
[arguments]: Add a wrap-qt phase allowing qtsvg to be found at runtime to
show SVG icons correctly.
2020-03-22 19:03:52 +01:00
Alex Griffin
9720894cc8
gnu: gnome-shell-extension-paperwm: Update to 36.0.
...
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-paperwm): Update to 36.0.
2020-03-22 11:24:25 -05:00
Guillaume Le Vaillant
aaa8893715
gnu: qbittorrent: Fix icons not showing in GUI.
...
* gnu/packages/bittorrent.scm (qbittorrent)[arguments]: Add a wrap-qt phase.
2020-03-22 17:11:14 +01:00
Ludovic Courtès
23b3947897
gnu: libchop: Build against libtirpc and related tools.
...
* gnu/packages/backup.scm (libchop)[source]: Add 'modules' and 'snippet'.
[arguments]: Add #:configure-flags; add 'set-libtirpc-include-path' phase.
[native-inputs]: Add RPCSVC-PROTO.
[inputs]: Add LIBTIRPC.
2020-03-22 16:49:47 +01:00
Ludovic Courtès
9acacb71c9
Remove workaround for 'time-monotonic' in Guile 2.2.2.
...
This is a followup to e688c2df39
.
* build-aux/hydra/evaluate.scm <top level>: Remove 'time-monotonic'
definition.
* guix/cache.scm: Likewise.
* guix/progress.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.
* guix/scripts/weather.scm: Likewise.
* tests/cache.scm: Likewise.
2020-03-22 16:49:47 +01:00
Ludovic Courtès
99b23eabdb
installer: Do not include the host (guix config).
...
Previously, "locales.drv" would depend on the host's (guix config).
Thus, the derivation would depend on details of the user's installation.
* gnu/installer.scm (not-config?): New procedure.
(build-compiled-file): Pass it to 'source-module-closure' and use
'make-config.scm'.
2020-03-22 16:49:47 +01:00
pinoaffe@airmail.cc
363989e668
gnu: Add nextpnr-ice40.
...
* gnu/packages/fpga.scm (nextpnr-ice40): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-03-22 15:59:35 +01:00
pinoaffe@airmail.cc
179be4bbe4
gnu: icestorm: Update to latest revision.
...
* gnu/packages/fpga.scm (icestorm): Update to latest revision.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-03-22 15:59:33 +01:00
Efraim Flashner
113309e044
gnu: r-dt: Update license field.
...
* gnu/packages/statistics.scm (r-dt)[license]: Add wtfpl2.
2020-03-22 15:37:49 +02:00
Efraim Flashner
ff66791d3a
gnu: zzuf: Update license field.
...
* gnu/packages/debug.scm (zzuf)[license]: List as wtfpl2.
2020-03-22 15:37:48 +02:00
Efraim Flashner
8506fce04b
gnu: libcaca: Update license field.
...
* gnu/packages/video.scm (libcaca)[license]: List as wtfpl2.
2020-03-22 15:37:48 +02:00
Mathieu Othacehe
c086c5af1c
build-system: linux-module: Fix cross compilation.
...
* guix/build-system/linux-module.scm (default-kmod, default-gcc): Delete
procedures.
(system->arch): New procedure.
(make-linux-module-builder)[native-inputs]: Move linux...
[inputs]: ...to here.
(linux-module-build-cross): New procedure.
(linux-module-build): Add TARGET. Pass TARGET and ARCH to build side.
(lower): Allow cross-compilation. Move "linux" and "linux-module-builder"
to host-inputs. Add target-inputs. Call linux-module-build-cross if
TARGET is set, linux-module-build otherwise.
* guix/build/linux-module-build-system.scm (configure): Add ARCH argument.
(linux-module-build): Adjust comment.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-03-22 13:20:07 +01:00
Danny Milosavljevic
5c79f23863
system: Add kernel-loadable-modules to operating-system.
...
* gnu/system.scm (<operating-system>): Add kernel-loadable-modules.
(operating-system-directory-base-entries): Use it.
* doc/guix.texi (operating-system Reference): Document
KERNEL-LOADABLE-MODULES.
* gnu/build/linux-modules.scm (depmod): New procedure.
(make-linux-module-directory): New procedure. Export it.
* guix/profiles.scm (linux-module-database): New procedure. Export it.
* gnu/tests/linux-modules.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/linux.scm (make-linux-libre*)[arguments]<#:phases>[install]:
Disable depmod. Remove "build" and "source" symlinks.
[native-inputs]: Remove kmod.
2020-03-22 12:51:50 +01:00
Ludovic Courtès
66a198c807
hydra: evaluate: Use 'with-build-handler'.
...
* build-aux/hydra/evaluate.scm (command-line): Remove 'set!' for
'build-things'. Use 'with-build-handler' instead.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Add comment about
removing 'show-what-to-build' call.
2020-03-22 12:42:52 +01:00
Ludovic Courtès
91601790d0
packages: 'package-field-location' handles missing source properties.
...
This is a followup to f2b24f01f4
.
* guix/packages.scm (package-field-location): Check whether
'source-properties->location' returns #f. This fixes the case where
'source-properties' returns the empty list.
2020-03-22 12:42:52 +01:00
Ludovic Courtès
3e6f65be7a
copy: Use 'with-build-handler'.
...
* guix/scripts/copy.scm (send-to-remote-host): Remove explicit
'show-what-to-build' call. Call 'build-derivations' unconditionally.
(guix-copy): Wrap 'with-status-verbosity' in 'with-build-handler'.
2020-03-22 12:42:52 +01:00
Ludovic Courtès
81c0b52bd6
copy: Actually implement '--dry-run'.
...
* guix/scripts/copy.scm (%options): Add '--dry-run'.
2020-03-22 12:42:52 +01:00
Ludovic Courtès
7473238f7d
copy: Factorize 'with-store' & co.
...
* guix/scripts/copy.scm (send-to-remote-host): Remove 'with-store' and
'set-build-options-from-command-line' call. Add 'local' parameter.
(retrieve-from-remote-host): Likewise.
(guix-copy): Wrap 'with-status-verbosity' in 'with-store' and add call
to 'set-build-options-from-command-line'.
2020-03-22 12:42:52 +01:00
Ludovic Courtès
9b771305df
ui: 'build-notifier' invokes continuation when there's nothing to do.
...
* guix/ui.scm (build-notifier): Call CONTINUE when there's nothing to
build or download, even when DRY-RUN? is true.
2020-03-22 12:42:52 +01:00
Ludovic Courtès
883a1765a6
ui: 'show-what-to-build' returns two values, for builds and downloads.
...
* guix/ui.scm (show-what-to-build): Return two values.
2020-03-22 12:42:52 +01:00
Ludovic Courtès
bec3474107
ui: 'show-what-to-build' returns true when there are grafts to build.
...
* guix/ui.scm (show-what-to-build): Distinguish between 'build/full' and
'build'. Return true whe 'build/full' is non-empty, thus taking grafts
into account.
2020-03-22 12:42:52 +01:00
Ludovic Courtès
a0f480d623
guix system: Use 'with-build-handler'.
...
* guix/scripts/system.scm (reinstall-bootloader): Remove call to
'show-what-to-build*'.
(perform-action): Call 'build-derivations' instead of 'maybe-build'.
(process-action): Wrap 'run-with-store' in 'with-build-handler'.
2020-03-22 12:42:51 +01:00
Ludovic Courtès
65ffb9388c
guix package, pull: Use 'with-build-handler'.
...
* guix/scripts/package.scm (build-and-use-profile): Remove #:dry-run?
and #:use-substitutes?. Remove call to 'show-what-to-build' and
'dry-run?' special case.
(process-actions): Adjust accordingly.
(guix-package*): Wrap 'parameterize' in 'with-build-handler'.
* guix/scripts/pull.scm (build-and-install): Remove #:use-substitutes?
and #:dry-run? and adjust 'update-profile' call accordingly. Remove
'dry-run?' conditional.
(guix-pull): Wrap body in 'with-build-handler'.
2020-03-22 12:42:51 +01:00
Ludovic Courtès
5f5e9a5cd6
pack: Use 'with-build-handler'.
...
* guix/scripts/pack.scm (guix-pack): Wrap 'parameterize' in
'with-build-handler'. Remove explicit call to 'show-what-to-build'.
Call 'build-derivations' regardless of whether OPTS contains 'dry-run?'.
2020-03-22 12:42:51 +01:00
Ludovic Courtès
bdda46a67d
deploy: Use 'with-build-handler'.
...
Until now, 'guix deploy' would never display what is going to be built.
* guix/scripts/deploy.scm (guix-deploy): Wrap 'for-each' in
'with-build-handler'.
2020-03-22 12:42:51 +01:00
Ludovic Courtès
62195b9a8f
guix build: Use 'with-build-handler'.
...
Fixes <https://bugs.gnu.org/28310 >.
Reported by Andreas Enge <andreas@enge.fr>.
* guix/scripts/build.scm (guix-build): Wrap 'parameterize' in
'with-build-handler'. Remove explicit call to 'show-what-to-build'.
Call 'build-derivations' regardless of whether OPTS contains 'dry-run?'.
2020-03-22 12:42:51 +01:00
Ludovic Courtès
07ce23e011
ui: Add a notification build handler.
...
* guix/ui.scm (build-notifier): New variable.
2020-03-22 12:42:51 +01:00
Ludovic Courtès
041b340da4
store: Add 'with-build-handler'.
...
* guix/store.scm (current-build-prompt): New variable.
(call-with-build-handler, invoke-build-handler): New procedures.
(with-build-handler): New macro.
* tests/store.scm ("with-build-handler"): New test.
2020-03-22 12:42:51 +01:00
Ludovic Courtès
9a067fe7ee
syscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent.
...
* guix/build/syscalls.scm (call-with-file-lock)
(call-with-file-lock/no-wait): Initialize PORT in the 'dynamic-wind'
"in" handler. This allows us to re-enter a captured continuation and
have the lock grabbed anew.
2020-03-22 12:42:51 +01:00
Mathieu Othacehe
1550db6fd4
tests: install: Abort when one installation step fails.
...
When marionette-eval calls fail in gui-test-program, the installation
continues which results in two scenarios:
- hang forever at the next marionette-eval call,
- keep going and start a broken installation, which is annoying because it
clears the terminal and hides the error.
Make sure that gui-test-program is exited with #f return code when one of the
marionette-eval calls fail.
* gnu/tests/install.scm (gui-test-program): Add a new macro
"marionette-eval*". Throw an exception when one on the marionette-eval calls
fail.
2020-03-22 10:53:55 +01:00
Efraim Flashner
e64ea84392
gnu: python-bleach: Update to 3.1.3 (fixes CVE-2020-6816).
...
* gnu/packages/python-xyz.scm (python-bleach): Update to 3.1.3.
[native-inputs]: Remove python-pytest-runner2. Add python-datrie,
python-genshi, python-lxml.
[home-page]: Update to new home-page.
2020-03-22 10:39:08 +02:00
Efraim Flashner
34bf3ed26b
gnu: Add python-block-tracing.
...
* gnu/packages/python-xyz.scm (python-block-tracing): New variable.
2020-03-22 09:58:29 +02:00
Efraim Flashner
0a124c4615
gnu: Add python-privy.
...
* gnu/packages/python-crypto.scm (python-privy): New variable.
2020-03-22 09:58:29 +02:00
Efraim Flashner
0831063778
gnu: Add python-argon2-cffi.
...
* gnu/packages/python-crypto.scm (python-argon2-cffi): New variable.
2020-03-22 09:58:28 +02:00
Efraim Flashner
24200bdf9d
gnu: Add python-userspacefs.
...
* gnu/packages/python-xyz.scm (python-userspacefs): New variable.
2020-03-22 09:58:28 +02:00
Efraim Flashner
2eb09a5cfd
gnu: Add python-fusepyng.
...
* gnu/packages/python-xyz.scm (python-fusepyng): New variable.
2020-03-22 09:58:28 +02:00
Efraim Flashner
9a684b4078
gnu: Add python-keyrings.alt.
...
* gnu/packages/python-crypto.scm (python-keyring.alt): New variable.
2020-03-22 09:58:28 +02:00
Efraim Flashner
10d3fbf051
gnu: edirect: Install more programs.
...
* gnu/packages/bioinformatics.scm (edirect)[arguments]: Add
'patch-programs phase to work around not finding binaries in the PATH.
Rewrite 'install phase to install many more scripts. Rewrite
'wrap-program to wrap more scripts with more programs.
[inputs]: Add edirect-go-programs.
[native-search-paths]: New field.
2020-03-22 09:53:57 +02:00
Efraim Flashner
7d13a94215
gnu: Add edirect-go-programs.
...
* gnu/packages/bioinformatics.scm (edirect-go-programs): New variable.
(edirect)[source]: Adjust snippet to not use non-free software.
2020-03-22 09:53:57 +02:00
Efraim Flashner
073c64dc79
gnu: Add go-github-com-surgebase-porter2.
...
* gnu/packages/golang.scm (go-github-com-surgebase-porter2): New variable.
2020-03-22 09:53:57 +02:00
Efraim Flashner
62cfb49159
gnu: Add go-github-com-surge-glog.
...
* gnu/packages/golang.scm (go-github-com-surge-glog): New variable.
2020-03-22 09:53:56 +02:00
Efraim Flashner
03baf02e6f
gnu: Add go-github-com-pbnjay-memory.
...
* gnu/packages/golang.scm (go-github-com-pbnjay-memory): New variable.
2020-03-22 09:53:56 +02:00
Efraim Flashner
cb38099839
gnu: Add go-github-com-klauspost-cpuid.
...
* gnu/packages/golang.scm (go-github-com-klauspost-cpuid): New variable.
2020-03-22 09:53:56 +02:00
Efraim Flashner
44b9e8fd8f
gnu: Add go-github-com-gedex-inflector.
...
* gnu/packages/golang.scm (go-github-com-gedex-inflector): New variable.
2020-03-22 09:12:50 +02:00
Efraim Flashner
40c86b39c3
gnu: Add go-github-com-fogleman-gg.
...
* gnu/packages/golang.scm (go-github-com-fogleman-gg): New variable.
2020-03-22 09:12:49 +02:00
Efraim Flashner
ae863ccd63
gnu: Add go-github-com-golang-freetype.
...
* gnu/packages/golang.scm (go-github-com-golang-freetype): New variable.
2020-03-22 09:12:49 +02:00