Commit graph

46295 commits

Author SHA1 Message Date
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
Marius Bakke
8b3dc66771
gnu: icecat: Fix FTBFS with GCC7.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: In the 'augment-CPATH' phase,
do not attempt to read CPLUS_INCLUDE_PATH, which is no longer set.
2019-07-04 20:13:13 +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
Robert Vollmert
1daca4f3e5
import: hackage: Update list of ghc-included packages.
It turns out the list in the release notes is incomplete.
This updates the list from /gnu/store/<hash>-ghc-8.4.3/lib/ghc-8.4.3.

* guix/import/hackage.scm (ghc-standard-libraries): Update list.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-04 17:43:56 +02:00
Robert Vollmert
6657b0711e
gnu: Remove ghc-parsec, ghc-stm, ghc-text, ghc-xhtml.
These are ghc-8.4-bundled packages, removing to avoid build
conflicts.

* gnu/packages/haskell.scm (ghc-parsec, ghc-stm, ghc-text): Remove.
* gnu/packages/haskell-web.scm (ghc-xhtml): Remove.
* gnu/packages/agda.scm (agda)[inputs]: Remove ghc-stm and ghc-text.
* gnu/packages/bioinformatics.scm (ngless)[inputs]: Remove ghc-parsec and
ghc-text.
* gnu/packages/haskell-apps.scm (darcs)[inputs]: Remove ghc-parsec.
(git-annex)[inputs]: Remove ghc-stm and ghc-text.
(ghc-sdl2)[inputs]: Remove ghc-text.
(ghc-sdl2-image)[inputs]: Remove ghc-text.
* gnu/packages/haskell-check.scm (ghc-tasty-ant-xml)[inputs]: Remove ghc-stm.
(ghc-tasty)[inputs]: Remove ghc-stm.
(ghc-tasty-rerun)[inputs]: Same.
(ghc-quickcheck-instances)[inputs]: Remove ghc-text.
(ghc-hedgehog)[inputs]: Remove ghc-stm.
* gnu/packages/haskell-crypto.scm (ghc-asn1-encoding)[inputs]: Remove
ghc-text.
* gnu/packages/haskell-web.scm (ghc-tagsoup)[inputs]: Remove ghc-text.
(ghc-cookie)[inputs]: Same.
(ghc-http-types)[inputs]: Same.
(ghc-http)[inputs]: Remove ghc-parsec.
(ghc-http-client)[inputs]: Remove ghc-text.
(ghc-http2)[inputs]: Remove ghc-stm.
(ghc-http-conduit)[native-inputs]: Remove ghc-text.
(ghc-wai)[inputs]: Same.
(ghc-wai-extra)[inputs]: Same.
(ghc-warp)[inputs]: Remove ghc-stm and ghc-text.
(ghc-xss-sanitize)[native-inputs]: Remove ghc-text.
(ghc-css-text)[inputs]: Same.
(ghc-mime-types)[inputs]: Same.
(ghc-blaze-html)[inputs]: Same.
(ghc-aeson)[inputs]: Same.
(ghc-aeson-pretty)[inputs]: Same.
(ghc-aeson-qq)[inputs]: Remove ghc-text and ghc-parsec.
(ghc-multipart)[inputs]: Remove ghc-parsec.
(ghc-uri-encode)[inputs]: Remove ghc-text.
(ghc-path-pieces)[inputs]: Same.
(ghc-yesod-core)[inputs]: Remove ghc-text and ghc-parsec.
(ghc-yesod-persistent)[inputs]: Remove ghc-text.
(ghc-yesod-form)[inputs]: Same.
(ghc-yesod)[inputs]: Same.
(ghc-hxt-regex-xmlschema)[inputs]: Remove ghc-parsec and ghc-text.
(ghc-hxt)[inputs]: Remove ghc-parsec.
* gnu/packages/haskell.scm (ghc-convertible)[inputs]: Remove ghc-text.
(ghc-double-conversion)[inputs]: Same.
(ghc-tree-diff)[inputs]: Remove ghc-parsec and ghc-text.
[native-inputs]: Remove ghc-parsec.
(ghc-cgi)[inputs]: Remove ghc-parsec.
(hlint)[inputs]: Remove ghc-text.
(ghc-openglraw)[inputs]: Remove ghc-text.
(ghc-opengl)[inputs]: Same.
(ghc-streaming-commons)[inputs]: Remove ghc-stm and ghc-text.
(ghc-hackage-security)[inputs]: Remove ghc-parsec.
(cabal-install)[inputs]: Remove ghc-stm.
(ghc-parsec-numbers)[inputs]: Remove ghc-parsec.
(ghc-safesemaphore)[inputs]: Remove ghc-stm.
(ghc-text-binary)[inputs]: Remove ghc-text.
(ghc-hashable)[inputs]: Remove ghc-text.
(ghc-transformers-base)[inputs]: Remove ghc-stm.
(ghc-indents)[inputs]: Remove ghc-parsec.
(ghc-regex-tdfa-rc)[inputs]: Same.
(ghc-regex-tdfa-text)[inputs]: Same.
(ghc-regex)[inputs]: Remove ghc-text.
(ghc-parsers)[inputs]: Remove ghc-parsec and ghc-text.
(ghc-attoparsec)[inputs]: Remove ghc-text.
(ghc-attoparsec-bootstrap)[inputs]: Same.
(ghc-zip-archive)[inputs]: Same.
(ghc-polyparse)[inputs]: Same.
(ghc-reducers)[inputs]: Same.
(ghc-xml)[inputs]: Same.
(ghc-feed)[inputs]: Same.
(ghc-exceptions)[inputs]: Remove ghc-stm.
(ghc-case-insensitive)[inputs]: Remove ghc-text.
(ghc-megaparsec)[inputs]: Same.
(ghc-network-uri)[inputs]: Remove ghc-parsec.
(ghc-monad-control)[inputs]: Remove ghc-stm.
(ghc-blaze-builder)[inputs]: Remove ghc-text.
(ghc-blaze-markup)[inputs]: Same.
(ghc-async)[inputs]: Remove ghc-stm.
(ghc-invariant)[inputs]: Same.
(ghc-statevar)[inputs]: Same.
(ghc-lens)[inputs]: Remove ghc-text.
(ghc-cheapskate)[inputs]: Same.
(ghc-semigroups)[inputs]: Same.
(ghc-semigroups-bootstrap)[inputs]: Same.
(ghc-fast-logger)[inputs]: Same.
(ghc-scientific)[inputs]: Same.
(ghc-scientific-bootstrap)[inputs]: Same.
(ghc-texmath)[inputs]: Remove ghc-parsec.
(ghc-highlighting-kate)[inputs]: Same.
(ghc-cmark)[inputs]: Remove ghc-text.
(ghc-cmark-gfm)[inputs]: Same.
(ghc-th-lift-instances)[inputs]: Same.
(ghc-yaml)[inputs]: Same.
(ghc-hslua)[inputs]: Same.
(ghc-hslua-module-text)[inputs]: Same.
(ghc-skylighting-core)[inputs]: Same.
(ghc-doctemplates)[inputs]: Remove ghc-text and ghc-parsec.
(ghc-pandoc)[inputs]: Same.
(ghc-typed-process)[inputs]: Remove ghc-stm.
(ghc-conduit-extra)[inputs]: Remove ghc-stm and ghc-text.
(ghc-xml-types)[inputs]: Remove ghc-text.
(ghc-xml-conduit)[inputs]: Same.
(ghc-pandoc-citeproc)[inputs]: Remove ghc-text and ghc-parsec.
(ghc-regex-tdfa)[inputs]: Remove ghc-parsec.
(ghc-wl-pprint-text)[inputs]: Remove ghc-text.
(ghc-graphviz)[inputs]: Same.
(ghc-system-filepath-bootstrap)[inputs]: Same.
(ghc-system-fileio-bootstrap)[inputs]: Same.
(ghc-shelly)[inputs]: Same.
(ghc-chell)[inputs]: Same.
(ghc-system-filepath)[inputs]: Same.
(ghc-system-fileio)[inputs]: Same.
(ghc-fsnotify)[inputs]: Same.
(ghc-json)[inputs]: Remove ghc-text and ghc-parsec.
(ghc-esqueleto)[inputs]: Remove ghc-text.
(shellcheck)[inputs]: Remove ghc-parsec.
(ghc-errors)[inputs]: Remove ghc-text.
(ghc-chunked-data)[inputs]: Same.
(ghc-uuid-types)[inputs]: Same.
(ghc-uuid)[inputs]: Same.
(ghc-rebase)[inputs]: Remove ghc-stm and ghc-text.
(ghc-foldl)[inputs]: Remove ghc-text.
(ghc-mono-traversable)[inputs]: Same.
(ghc-conduit-combinators)[inputs]: Same.
(ghc-aws)[inputs]: Same.
(ghc-stm-chans)[inputs]: Remove ghc-stm.
(ghc-monad-logger)[inputs]: Remove ghc-text and ghc-stm.
(ghc-shakespeare)[inputs]: Remove ghc-parsec and ghc-text.
(ghc-resource-pool)[inputs]: Remove ghc-stm.
(ghc-attoparsec-iso8601)[inputs]: Remove ghc-text.
(ghc-http-api-data)[inputs]: Same.
(ghc-persistent)[inputs]: Same.
(ghc-aeson-compat)[inputs]: Same.
(ghc-persistent-template)[inputs]: Same.
(ghc-unliftio)[inputs]: Remove ghc-stm.
(ghc-persistent-sqlite)[native-inputs]: Remove ghc-text.
(ghc-bytes)[inputs]: Same.
(ghc-missingh)[inputs]: Remove ghc-parsec.
(ghc-rio)[inputs]: Remove ghc-text.
(ghc-cairo)[inputs]: Same.
(ghc-atomic-write)[inputs]: Remove ghc-text.
[native-inputs]: Same.
(ghc-stm-conduit)[inputs]: Remove ghc-stm.
(ghc-conduit-algorithms)[inputs]: Same.
(ghc-interpolate)[native-inputs]: Remove ghc-text.
(ghc-hpack)[inputs]: Same.
(ghc-inline-c)[inputs]: Remove ghc-parsec.
(ghc-configurator)[inputs]: Remove ghc-text.
(ghc-c2hs)[native-inputs]: Same.
(ghc-libmpd)[inputs]: Same.
(ghc-concurrent-output)[inputs]: Remove ghc-stm.
* gnu/packages/idris.scm (idris)[inputs]: Remove ghc-text.
* gnu/packages/wm.scm (xmobar)[inputs]: Remove ghc-parsec and ghc-stm.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-04 17:41:08 +02:00
Marius Bakke
2cb827b38e
Merge branch 'staging' into core-updates 2019-07-04 16:29:53 +02:00
Marius Bakke
42dcfca4cc
Merge branch 'master' into staging 2019-07-04 16:16:41 +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