Commit Graph

45807 Commits

Author SHA1 Message Date
Jakob L. Kreuze 02a962c8e0
doc: Add section for 'guix deploy'.
* doc/guix.texi: Add section "Invoking guix deploy".
2019-07-06 02:10:04 -04:00
Jakob L. Kreuze 5cbb832fb1
Add 'guix deploy'.
* guix/scripts/deploy.scm: New file.
* Makefile.am (MODULES): Add it.
2019-07-06 02:10:04 -04:00
Jakob L. Kreuze fa9edf09e9
gnu: Add machine type for deployment specifications.
* gnu/machine.scm: New file.
* gnu/machine/ssh.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2019-07-06 02:10:04 -04:00
Jakob L. Kreuze a9b09ed776
ssh: Add 'identity' keyword to 'open-ssh-session'.
* guix/ssh.scm (open-ssh-session): Add 'identity' keyword argument.
2019-07-06 02:09:58 -04:00
Ludovic Courtès cce7b03708
Revert "gnu: Add sbcl-cl-xmlspam."
The sbcl-cl-xmlspam package currently has no license information, which
makes it non-free.

Furthermore, the invalid 'license' field prevents evaluation from
completing.

This reverts commit ec98254694.
2019-07-05 22:30:27 +02:00
Ludovic Courtès 6b4a431843
Revert "gnu: Add sbcl-dbus."
Remove sbcl-dbus because it depends on sbcl-cl-xmlspam, which is
currently non-free.

This reverts commit 7af213fefe.
2019-07-05 22:29:12 +02:00
Ludovic Courtès 1aa026aa39
gnu: emacsy: Remove big 'texlive' dependency.
* gnu/packages/guile-xyz.scm (emacsy)[inputs]: Replace TEXLIVE by a
'texlive-union' call.
2019-07-05 18:10:29 +02:00
Ludovic Courtès eafd039005
gnu: hugin: Build against Exiv2 0.26.
* gnu/packages/image.scm (exiv2-0.26): New variable.
* gnu/packages/photo.scm (hugin)[inputs]: Use it instead of EXIV2.
2019-07-05 18:10:29 +02:00
Ricardo Wurmus b35af24938
gnu: nanopolish: Update to 0.11.1-1.6331dc4.
* gnu/packages/bioinformatics.scm (nanopolish): Update to 0.11.1-1.6331dc4.
2019-07-05 15:10:38 +02:00
Pierre Neidhardt 7af213fefe
gnu: Add sbcl-dbus.
* gnu/packages/lisp.scm (sbcl-dbus): New variable.
2019-07-05 12:37:03 +02:00
Pierre Neidhardt ec98254694
gnu: Add sbcl-cl-xmlspam.
* gnu/packages/lisp.scm (sbcl-cl-xmlspam): New variable.
2019-07-05 12:36:41 +02:00
Pierre Neidhardt 57f815cb6b
gnu: sbcl-trivia.trivial: Resolve Lisp type dynamically.
* gnu/packages/lisp.scm (sbcl-trivia.trivial)[arguments]: Use %lisp-type
instead of hard-coding "sbcl".
2019-07-05 12:30:41 +02:00
Pierre Neidhardt 4f54138731
gnu: Add sbcl-cxml.
* gnu/packages/lisp.scm (sbcl-cxml): New variable.
2019-07-05 12:30:21 +02:00
Pierre Neidhardt 9a08c0a577
gnu: Add sbcl-cxml+test.
* gnu/packages/lisp.scm (sbcl-cxml+test): New variable.
2019-07-05 12:29:55 +02:00
Pierre Neidhardt d22b47aad6
gnu: Add sbcl-cxml+klacks.
* gnu/packages/lisp.scm (sbcl-cxml+klacks): New variable.
2019-07-05 12:29:39 +02:00
Pierre Neidhardt 53270eb966
gnu: Add sbcl-cxml+dom.
* gnu/packages/lisp.scm (sbcl-cxml+dom): New variable.
2019-07-05 12:29:22 +02:00
Pierre Neidhardt 075e3220c6
gnu: Add sbcl-cxml+xml.
* gnu/packages/lisp.scm (sbcl-cxml+xml): New variable.
2019-07-05 12:29:13 +02:00
Pierre Neidhardt c51db1dd36
gnu: sbcl-closure-common: Use official home-page.
* gnu/packages/lisp.scm (sbcl-closure-common)[home-page]: Do it.
2019-07-05 12:22:31 +02:00
Pierre Neidhardt 1d8d87ddf7
gnu: sbcl-iolib: Add CFFI to list of inputs and fix spacing.
* gnu/packages/lisp.scm (sbcl-iolib)[inputs]: Do it.
2019-07-05 12:21:51 +02:00
Arun Isaac e48f80cba0
gnu: Add qlogo.
* gnu/packages/logo.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
* gnu/packages/logo.scm (qlogo): New variable.
2019-07-05 12:49:25 +05:30
Christopher Baines 4add773e8c
gnu: patchwork: Update to 2.1.4.
* gnu/packages/patchutils.scm (patchwork): Update to 2.1.4.
2019-07-05 07:52:44 +01:00
Ludovic Courtès 728a4ab101
store: 'run-with-store' gracefully deals with #f store.
This is a followup to dd0ee954c4, which
introduced a failure in tests/graph.scm.

* guix/store.scm (run-with-store): Check whether STORE and NEW-STORE are
true before calling 'store-connection-object-cache' etc.  Fixes a
failure in tests/graph.scm related to %REVERSE-PACKAGE-NODE-TYPE, which
uses #f as the store.
2019-07-05 00:51:17 +02:00
Ludovic Courtès d74392a85c
derivations: Simplify 'substitution-oracle'.
* guix/derivations.scm (substitution-oracle)[valid?, dependencies]:
Remove.
[closure]: New procedure.
Rename parameter from 'drv' to 'inputs-or-drv' and adjust accordingly.
(derivation-build-plan): Pass INPUTS directly to 'substitution-oracle'.
* guix/ui.scm (show-what-to-build)[substitutable-info]: Likewise.
2019-07-05 00:51:17 +02:00
Ludovic Courtès b1510fd8d2
derivations: 'derivation-build-plan' recurses on substituables.
This fixes a bug whereby "guix build texlive -n" would report:

  0.0 MB would be downloaded:
     /gnu/store/…-texlive-20180414

instead of:

  The following derivation would be built:
     /gnu/store/…-texlive-texmf-20180414.drv
  2,595.2 MB would be downloaded:
     /gnu/store/…-texlive-20180414-texmf.tar.xz
     /gnu/store/…-texlive-20180414

where 'texlive-texmf' is a non-substitutable dependency of 'texlive'.

* guix/derivations.scm (dependencies-of-substitutables): New procedure.
(derivation-build-plan): When 'input-substitutable-info' returns true,
append the subset of DEPS that corresponds to SUBSTITUABLES to the first
argument of 'loop'.
* guix/ui.scm (show-what-to-build): Remove half-baked traversal of
DOWNLOAD.
* tests/derivations.scm ("derivation-build-plan and substitutes,
non-substitutable dep"): New test.
2019-07-05 00:51:17 +02:00
Pierre Neidhardt 87850c05a2
gnu: Add sbcl-trivia.
* gnu/packages/lisp.scm (sbcl-trivia): New variable.
2019-07-04 19:25:59 +02:00
Pierre Neidhardt 9d4e42261e
gnu: Add sbcl-trivia.cffi.
* gnu/packages/lisp.scm (sbcl-trivia.cffi): New variable.
2019-07-04 19:25:59 +02:00
Pierre Neidhardt 9b5e5eafc6
gnu: Add sbcl-trivia.quasiquote.
* gnu/packages/lisp.scm (sbcl-trivia.quasiquote): New variable.
2019-07-04 19:25:59 +02:00
Pierre Neidhardt 3706c0a432
gnu: Add sbcl-trivia.ppcre.
* gnu/packages/lisp.scm (sbcl-trivia.ppcre): New variable.
2019-07-04 19:25:59 +02:00
Pierre Neidhardt 9d450c6d42
gnu: Add sbcl-trivia.balland2006.
* gnu/packages/lisp.scm (sbcl-trivia.balland2006): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt 02a8324b12
gnu: Add sbcl-trivia.trivial.
* gnu/packages/lisp.scm (sbcl-trivia.trivial): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt 49df8a0ae8
gnu: Add sbcl-trivia.level2.
* gnu/packages/lisp.scm (sbcl-trivia.level2): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt e4e84e3db6
gnu: Add sbcl-trivia.level1.
* gnu/packages/lisp.scm (sbcl-trivia.level1): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt 5163929e68
gnu: Add sbcl-trivia.level0.
* gnu/packages/lisp.scm (sbcl-trivia.level0): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt b72314963b
gnu: Add sbcl-fare-quasiquote-readtable.
* gnu/packages/lisp.scm (sbcl-fare-quasiquote-readtable): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt 41c42e163c
gnu: Add sbcl-fare-quasiquote.
* gnu/packages/lisp.scm (sbcl-fare-quasiquote): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt f1eb796134
gnu: Add sbcl-optima.
* gnu/packages/lisp.scm (sbcl-optima): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt b0c1007dec
gnu: Add sbcl-type-i.
* gnu/packages/lisp.scm (sbcl-type-i): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt f4a7653e44
gnu: Add sbcl-introspect-environment.
* gnu/packages/lisp.scm (sbcl-introspect-environment): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt 9526af923a
gnu: Add sbcl-trivial-cltl2.
* gnu/packages/lisp.scm (sbcl-trivial-cltl2): New variable.
2019-07-04 19:25:58 +02:00
Pierre Neidhardt e3750dc7cb
gnu: Add sbcl-lisp-namespace.
* gnu/packages/lisp.scm (sbcl-lisp-namespace): New variable.
2019-07-04 19:25:58 +02:00
Alex Griffin e2332dec9f
gnu: Add pulseaudio-dlna.
* gnu/packages/pulseaudio.scm (pulseaudio-dlna): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04 18:05:03 +02:00
Alex Griffin 6609ebe7af
gnu: Add python2-zeroconf.
* gnu/packages/python-xyz.scm (python2-zeroconf): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04 18:05:03 +02:00
Alex Griffin dd85eca02a
gnu: Add python2-pyroute2.
* gnu/packages/python-xyz.scm (python2-pyroute2): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04 18:05:03 +02:00
Alex Griffin fb236fddb2
gnu: Add python-notify2, python2-notify2.
* gnu/packages/python-xyz.scm (python-notify2): New variable.
(python2-notify2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04 18:05:02 +02:00
Ludovic Courtès dea62932bc
pack: 'squashfs' backend records the profile's search paths.
* guix/scripts/pack.scm (singularity-environment-file): New procedure.
(squashfs-image): Use it, and create /.singularity/env/90-environment.sh.
* gnu/tests/singularity.scm (run-singularity-test)["singularity run,
with environment"]: New test, currently skipped.
* gnu/tests/singularity.scm (build-tarball&run-singularity-test): Add
GUILE-JSON to the profile.
2019-07-04 18:05:02 +02:00
Ludovic Courtès b9fcf0c82a
pack: 'docker' backend records the profile's search paths.
* guix/docker.scm (config): Add #:environment parameter and honor it.
(build-docker-image): Likewise, and pass it to 'config'.
* guix/scripts/pack.scm (docker-image): Import (guix profiles) and (guix
search-paths).  Call 'profile-search-paths' and pass #:environment to
'build-docker-image'.
* gnu/tests/docker.scm (run-docker-test)["Load docker image and run it"]:
Add example that expects (json) to be available.
* gnu/tests/docker.scm (build-tarball&run-docker-test): Replace
%BOOTSTRAP-GUILE by GUILE-2.2 and GUILE-JSON in the environment.
2019-07-04 18:05:02 +02:00
Ludovic Courtès 9d8ab8034e
Add (guix remote).
* guix/remote.scm: New file.
* Makefile.am (MODULES): Add it.
2019-07-04 18:05:02 +02:00
Ludovic Courtès d0ffa321dd
inferior: Add 'read-repl-response'.
* guix/inferior.scm (read-repl-response): New procedure.
(read-inferior-response): Use it.
2019-07-04 18:05:02 +02:00
Ludovic Courtès 92a4087bf4
Add (guix repl).
* guix/scripts/repl.scm: Use (guix repl).
(self-quoting?, machine-repl): Remove.
* guix/repl.scm: New file.
* Makefile.am (MODULES): Add it.
2019-07-04 18:05:02 +02:00
Ludovic Courtès 2ca41030d5
gexp: Add 'lower-gexp' and express 'gexp->derivation' in terms of it.
* guix/gexp.scm (gexp-input-thing, gexp-input-output)
(gexp-input-native?): Export.
(lower-inputs): Return <gexp-input> records instead of tuples.
(lower-reference-graphs): Adjust accordingly.
(<lowered-gexp>): New record type.
(lower-gexp, gexp-input->tuple): New procedure.
(gexp->derivation)[%modules]: Remove.
[requested-graft?]: New variable.
[add-modules]: New procedure.
Rewrite in terms of 'lower-gexp'.
(gexp-inputs): Add TODO comment.
* tests/gexp.scm ("lower-gexp"): New test.
2019-07-04 18:05:02 +02:00