Commit Graph

45591 Commits

Author SHA1 Message Date
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
Leo Famulari e6a57949f6
gnu: MPD: Update to 0.21.11.
* gnu/packages/mpd.scm (mpd): Update to 0.21.11.
2019-07-03 16:24:50 -04:00
Leo Famulari 1facde6a19
gnu: GraphicsMagick: Update to 1.3.32.
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.32.
2019-07-03 16:24:47 -04:00
Leo Famulari 156b7abca8
gnu: irssi: Update to 1.1.3. [fixes CVE-2019-13045].
* gnu/packages/irc.scm (irssi): Update to 1.1.3.
2019-07-03 14:37:33 -04:00
Ludovic Courtès e79281be10
derivations: Work around pathological memoization behavior.
This works around <https://bugs.gnu.org/36487>.

* guix/derivations.scm (invalidate-derivation-caches!): Comment out
'hash-clear!' call.
2019-07-03 20:06:31 +02:00
Julien Lepiller dac8b27512
gnu: python-pygit2: Update to 0.28.2.
* gnu/packages/python-xyz.scm (python-pygit2): Update to 0.28.2.
2019-07-03 19:01:08 +02:00
Tobias Geerinckx-Rice dc40836839
gnu: snd: Update to 19.5.
* gnu/packages/audio.scm (snd): Update to 19.5.
2019-07-03 17:30:21 +02:00
Rutger Helling 15c92a652f
gnu: wireguard: Update to 0.0.20190702.
* gnu/packages/vpn.scm (wireguard): Update to 0.0.20190702.
2019-07-03 13:38:29 +02:00
Ludovic Courtès 9156396fe6
gnu: geeqie: Update to commit c220dde.
* gnu/packages/image-viewers.scm (geeqie): Update to commit c220dde.
[source]: Use 'git-fetch' and 'git-reference'.
[arguments] <pre-bootstrap>: Add 'substitute*' calls for 'configure.ac'
and 'po/POTFILES.in'.
2019-07-03 12:03:07 +02:00
Kyle Meyer 723f5b1dc9
profiles: Adjust packages->manifest pattern for inferior packages.
* guix/profiles.scm (packages->manifest): Add package? predicate to `(package
output)' pattern to avoid incorrectly matching `(inferior-package output)',
which should be handled by a later clause.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-03 12:03:07 +02:00
Joseph LaFreniere f20d865239
gnu: Add emacs-minions.
* gnu/packages/emacs-xyz.scm (emacs-minions): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-03 12:03:07 +02:00