summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-05derivations: Simplify 'substitution-oracle'.Ludovic Courtès
* 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-05derivations: 'derivation-build-plan' recurses on substituables.Ludovic Courtès
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-04gnu: Add sbcl-trivia.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia): New variable.
2019-07-04gnu: Add sbcl-trivia.cffi.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia.cffi): New variable.
2019-07-04gnu: Add sbcl-trivia.quasiquote.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia.quasiquote): New variable.
2019-07-04gnu: Add sbcl-trivia.ppcre.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia.ppcre): New variable.
2019-07-04gnu: Add sbcl-trivia.balland2006.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia.balland2006): New variable.
2019-07-04gnu: Add sbcl-trivia.trivial.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia.trivial): New variable.
2019-07-04gnu: Add sbcl-trivia.level2.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia.level2): New variable.
2019-07-04gnu: Add sbcl-trivia.level1.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia.level1): New variable.
2019-07-04gnu: Add sbcl-trivia.level0.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivia.level0): New variable.
2019-07-04gnu: Add sbcl-fare-quasiquote-readtable.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-fare-quasiquote-readtable): New variable.
2019-07-04gnu: Add sbcl-fare-quasiquote.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-fare-quasiquote): New variable.
2019-07-04gnu: Add sbcl-optima.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-optima): New variable.
2019-07-04gnu: Add sbcl-type-i.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-type-i): New variable.
2019-07-04gnu: Add sbcl-introspect-environment.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-introspect-environment): New variable.
2019-07-04gnu: Add sbcl-trivial-cltl2.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-trivial-cltl2): New variable.
2019-07-04gnu: Add sbcl-lisp-namespace.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-lisp-namespace): New variable.
2019-07-04gnu: Add pulseaudio-dlna.Alex Griffin
* gnu/packages/pulseaudio.scm (pulseaudio-dlna): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04gnu: Add python2-zeroconf.Alex Griffin
* gnu/packages/python-xyz.scm (python2-zeroconf): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04gnu: Add python2-pyroute2.Alex Griffin
* gnu/packages/python-xyz.scm (python2-pyroute2): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04gnu: Add python-notify2, python2-notify2.Alex Griffin
* gnu/packages/python-xyz.scm (python-notify2): New variable. (python2-notify2): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04pack: 'squashfs' backend records the profile's search paths.Ludovic Courtès
* 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-04pack: 'docker' backend records the profile's search paths.Ludovic Courtès
* 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-04Add (guix remote).Ludovic Courtès
* guix/remote.scm: New file. * Makefile.am (MODULES): Add it.
2019-07-04inferior: Add 'read-repl-response'.Ludovic Courtès
* guix/inferior.scm (read-repl-response): New procedure. (read-inferior-response): Use it.
2019-07-04Add (guix repl).Ludovic Courtès
* guix/scripts/repl.scm: Use (guix repl). (self-quoting?, machine-repl): Remove. * guix/repl.scm: New file. * Makefile.am (MODULES): Add it.
2019-07-04gexp: Add 'lower-gexp' and express 'gexp->derivation' in terms of it.Ludovic Courtès
* 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-04gnu: Add sbcl-dexador.Pierre Neidhardt
* gnu/packages/lisp.scm (sbcl-dexador): New variable.
2019-07-04gnu: pigx-rnaseq: Update to 0.0.8.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.0.8.
2019-07-04gnu: Remove duplicate 'ruby-crass' package.Ludovic Courtès
* gnu/packages/ruby.scm (ruby-crass): Remove duplicate shadowed definition.
2019-07-04gnu: Add ruby-backport.Mikhail Kirillov
* gnu/packages/ruby.scm (ruby-backport): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04gnu: Add qtpass.Jens Mølgaard
* gnu/packages/password-utils.scm (qtpass): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-04gnu: linux-libre: Update to 5.1.16.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.16. (%linux-libre-hash): Update hash.
2019-07-04gnu: linux-libre@4.19: Update to 4.19.57.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.57. (%linux-libre-4.19-hash): Update hash.
2019-07-04gnu: linux-libre@4.14: Update to 4.14.132.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.132. (%linux-libre-4.14-hash): Update hash.
2019-07-03gnu: lpd8editor: Update to 0.0.13.Leo Famulari
* gnu/packages/music.scm (lpd8editor): Update to 0.0.13.
2019-07-03store: 'run-with-store' preserves the functional object cache.Ludovic Courtès
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-03derivations: 'substitution-oracle' no longer calls 'read-derivation-from-file'.Ludovic Courtès
This is a followup to 5cf4b26d52bcea382d98fb4becce89be9ee37b55. * guix/derivations.scm (substitution-oracle): Use 'derivation-input-derivation' instead of calling 'read-derivation-from-file'.
2019-07-03derivations: Avoid another call to 'read-derivation-from-file'.Ludovic Courtès
This is a followup to 5cf4b26d52bcea382d98fb4becce89be9ee37b55. * 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-03derivations: 'map-derivation' no longer calls 'read-derivation-from-file'.Ludovic Courtès
This is a followup to 5cf4b26d52bcea382d98fb4becce89be9ee37b55. * guix/derivations.scm (map-derivation)[rewritten-input]: Avoid call to 'read-derivation-from-file'.
2019-07-03gnu: MPD: Update to 0.21.11.Leo Famulari
* gnu/packages/mpd.scm (mpd): Update to 0.21.11.
2019-07-03gnu: GraphicsMagick: Update to 1.3.32.Leo Famulari
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.32.
2019-07-03gnu: irssi: Update to 1.1.3. [fixes CVE-2019-13045].Leo Famulari
* gnu/packages/irc.scm (irssi): Update to 1.1.3.
2019-07-03derivations: Work around pathological memoization behavior.Ludovic Courtès
This works around <https://bugs.gnu.org/36487>. * guix/derivations.scm (invalidate-derivation-caches!): Comment out 'hash-clear!' call.
2019-07-03gnu: python-pygit2: Update to 0.28.2.Julien Lepiller
* gnu/packages/python-xyz.scm (python-pygit2): Update to 0.28.2.
2019-07-03gnu: snd: Update to 19.5.Tobias Geerinckx-Rice
* gnu/packages/audio.scm (snd): Update to 19.5.
2019-07-03gnu: wireguard: Update to 0.0.20190702.Rutger Helling
* gnu/packages/vpn.scm (wireguard): Update to 0.0.20190702.
2019-07-03gnu: geeqie: Update to commit c220dde.Ludovic Courtès
* 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-03profiles: Adjust packages->manifest pattern for inferior packages.Kyle Meyer
* 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>