Commit graph

45601 commits

Author SHA1 Message Date
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
Pierre Neidhardt
fc3f14927f
gnu: Add sbcl-dexador.
* gnu/packages/lisp.scm (sbcl-dexador): New variable.
2019-07-04 15:49:21 +02:00
Ricardo Wurmus
c7b1d06024
gnu: pigx-rnaseq: Update to 0.0.8.
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.0.8.
2019-07-04 12:42:38 +02:00
Ludovic Courtès
5cf5505c70
gnu: Remove duplicate 'ruby-crass' package.
* gnu/packages/ruby.scm (ruby-crass): Remove duplicate shadowed definition.
2019-07-04 12:31:44 +02:00
Mikhail Kirillov
fc4f7c45cf
gnu: Add ruby-backport.
* gnu/packages/ruby.scm (ruby-backport): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04 12:31:44 +02:00
Jens Mølgaard
872da48eab
gnu: Add qtpass.
* gnu/packages/password-utils.scm (qtpass): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04 12:31:44 +02:00
Mark H Weaver
b09a3584fc
gnu: linux-libre: Update to 5.1.16.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.16.
(%linux-libre-hash): Update hash.
2019-07-04 00:05:05 -04:00
Mark H Weaver
0e9e83c5d8
gnu: linux-libre@4.19: Update to 4.19.57.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.57.
(%linux-libre-4.19-hash): Update hash.
2019-07-04 00:04:20 -04:00
Mark H Weaver
e4fde6dcf3
gnu: linux-libre@4.14: Update to 4.14.132.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.132.
(%linux-libre-4.14-hash): Update hash.
2019-07-04 00:03:30 -04:00
Leo Famulari
83b9ba2685
gnu: lpd8editor: Update to 0.0.13.
* gnu/packages/music.scm (lpd8editor): Update to 0.0.13.
2019-07-03 22:06:29 -04:00
Ludovic Courtès
dd0ee954c4
store: 'run-with-store' preserves the functional object cache.
This increases the hit rate of the object cache from 56% to 85% when
running something like 'guix build libreoffice -nd'.

* guix/store.scm (set-store-connection-object-cache!): New procedure.
(run-with-store): Copy 'object-cache' field of the new store into the
original one.
2019-07-03 23:44:19 +02:00
Ludovic Courtès
e85a7b7f8c
derivations: 'substitution-oracle' no longer calls 'read-derivation-from-file'.
This is a followup to 5cf4b26d52.

* guix/derivations.scm (substitution-oracle): Use
'derivation-input-derivation' instead of calling
'read-derivation-from-file'.
2019-07-03 23:44:19 +02:00
Ludovic Courtès
c14a2b289d
derivations: Avoid another call to 'read-derivation-from-file'.
This is a followup to 5cf4b26d52.

* guix/derivations.scm (derivation-path->base16-hash): Rename to...
(derivation-base16-hash): ... this, and take a <derivation> rather than
a file name.  Use 'mlambdaq' instead of 'mlambda'.
(derivation/masked-inputs): Adjust accordingly.
(invalidate-derivation-caches!): Likewise.
2019-07-03 23:44:19 +02:00
Ludovic Courtès
1653b23564
derivations: 'map-derivation' no longer calls 'read-derivation-from-file'.
This is a followup to 5cf4b26d52.

* guix/derivations.scm (map-derivation)[rewritten-input]: Avoid call to
'read-derivation-from-file'.
2019-07-03 23:44:19 +02:00