Commit Graph

35722 Commits

Author SHA1 Message Date
Timothy Sample 0ff8558a4d
gnu: ghc-cmdargs: Update to 0.10.20.
* gnu/packages/haskell.scm (ghc-cmdargs): Update to 0.10.20.
2018-10-01 12:12:08 +02:00
Timothy Sample d3cc0eb2f3
gnu: ghc-base-prelude: Update to 1.3.
* gnu/packages/haskell.scm (ghc-base-prelude): Update to 1.3.
2018-10-01 12:12:08 +02:00
Timothy Sample 6bacde7cd7
gnu: ghc-basement: Update to 0.0.8.
* gnu/packages/haskell.scm (ghc-basement): Update to 0.0.8.
2018-10-01 12:12:08 +02:00
Timothy Sample 988dee48d0
gnu: cabal-doctest: Update Cabal file to r1.
* gnu/packages/haskell.scm (cabal-doctest): Update Cabal file to r1.
2018-10-01 12:12:08 +02:00
Timothy Sample 127586adfb
guix: import: stackage: Fix JSON accessors.
* guix/import/stackage.scm (lts-info-ghc-version, lst-info-packages): Use
assoc-ref for accessing parsed JSON.
2018-10-01 12:12:08 +02:00
Timothy Sample bb6419f374
build-system: haskell: Add #:cabal-revision argument.
Add a #:cabal-revision argument for specifying which Cabal file revision
from Hackage should be used.

* guix/build-system/haskell.scm (source-url->revision-url): New function.
(lower): Accept a cabal-revision keyword argument, convert it to an
origin record, and add it to the resulting bag's host-inputs.
(haskell-build): Pass the cabal-revision input to the builder as an
argument.
* guix/build/haskell-build-system.scm (patch-cabal-file): New phase.
(%standard-phases): Add it.
2018-10-01 12:12:08 +02:00
Timothy Sample f54f04756f
gnu: ghc-mtl: Remove built-in Haskell package.
* gnu/packages/agda.scm (agda)[inputs]: Remove ghc-mtl.
* gnu/packages/games.scm (raincat)[inputs]: Remove ghc-mtl.
* gnu/packages/haskell-check.scm (ghc-tasty-ant-xml, ghc-tasty-golden,
ghc-tasty, ghc-tasty-kat, ghc-tasty-rerun,
ghc-crypto-cipher-tests)[inputs]: Remove ghc-mtl.
* gnu/packages/haskell-crypto.scm (ghc-asn1-encoding, ghc-pem, ghc-x509,
ghc-x509-store, ghc-x509-validation, ghc-x509-system)[inputs]: Remove
ghc-mtl.
* gnu/packages/haskell-web.scm (ghc-http, ghc-http-conduit,
ghc-yesod-core)[inputs]: Remove ghc-mtl.
* gnu/packages/haskell.scm (ghc-convertible, ghc-libxml, ghc-cgi,
ghc-happy, ghc-haskell-src-exts, ghc-resourcet, cabal-install,
ghc-indents, ghc-regex-base, ghc-regex-tdfa-rc, ghc-trifecta,
ghc-zip-archive, ghc-logict, ghc-exceptions, ghc-smallcheck, ghc-syb,
ghc-fgl, ghc-chasingbottoms, ghc-parsec, ghc-megaparsec, ghc-edisonapi,
ghc-edisoncore, ghc-mmorph, ghc-ifelse, ghc-kan-extensions, ghc-lens,
ghc-cheapskate, ghc-free, ghc-adjunctions, ghc-equivalence, ghc-texmath,
ghc-texmath-for-pandoc-1, ghc-highlighting-kate, ghc-th-reify-many,
ghc-th-orphans, ghc-geniplate-mirror, ghc-conduit, ghc-filemanip,
ghc-juicypixels, ghc-hslua, ghc-hourglass, ghc-skylighting,
ghc-skylighting-for-pandoc-1, ghc-pandoc, ghc-pandoc-1,
ghc-pandoc-citeproc, ghc-regex-tdfa, ghc-stmonadtrans, ghc-constraints,
ghc-lifted-async, ghc-shelly, ghc-hslogger, ghc-json, shellcheck,
ghc-vector-algorithms, ghc-monad-par-extras, ghc-monad-par,
ghc-monadrandom, ghc-either, ghc-rebase, ghc-aws, ghc-monad-logger,
ghc-persistent, ghc-bytes, ghc-missingh, ghc-operational,
ghc-chart)[inputs]: Remove ghc-mtl.
(ghc-conduit-combinators)[native-inputs]: Remove ghc-mtl.
(ghc-mtl): Remove variable.
* gnu/packages/idris.scm (idris)[inputs]: Remove ghc-mtl.
* gnu/packages/tls.scm (ghc-tls)[inputs]: Remove ghc-mtl.
* gnu/packages/version-control.scm (darcs, git-annex)[inputs]: Remove
ghc-mtl.
* gnu/packages/wm.scm (xmonad, ghc-xmonad-contrib)[inputs]: Remove
ghc-mtl.
* gnu/packages/xml.scm (ghc-hxt)[inputs]: Remove ghc-mtl.
2018-10-01 12:12:08 +02:00
Timothy Sample dde15fea25
gnu: ghc: Use GHC 8.4.3 as the default GHC.
* gnu/packages/haskell.scm (ghc): Switch to ghc-8.
2018-10-01 12:12:04 +02:00
Ludovic Courtès f9051e3870
status: Always print the daemon's "waiting for locks" messages.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* guix/status.scm (print-build-event) <build-log>: Let "waiting for
locks" messages through.
2018-09-30 22:20:13 +02:00
Tobias Geerinckx-Rice 0e2d3ce20e
gnu: sshuttle: Rely on $PATH to find a POSIX sh.
This fixes a regression introduced in commit
c32863e094, where the sshuttle client
will try to invoke its own /gnu/store/.../bin/sh on the server.

Rely on $PATH instead of regressing to upstream's hard-coded /bin/sh.

* gnu/packages/vpn.scm (sshuttle)[arguments]: SUBSTITUTE* "sh" for
"/bin/sh".
2018-09-30 21:15:23 +02:00
pimi f2bc53af70
gnu: Add porechop.
* gnu/packages/bioinformatics.scm (porechop): New variable.
2018-09-30 14:09:48 -04:00
Efraim Flashner cebec8bd1c
gnu: font-culmus: Update to 0.133.
* gnu/packages/fonts.scm (font-culmus): Update to 0.133.
2018-09-30 15:46:46 +03:00
Efraim Flashner 3b362c8a83
gnu: mtools: Update to 4.0.19.
* gnu/packages/mtools.scm (mtools): Update to 4.0.19.
2018-09-30 13:37:38 +03:00
Mark H Weaver 17bea1803c
Revert "services: Add Gitolite."
This reverts commit 258a6d944e.
2018-09-29 21:18:45 -04:00
Mark H Weaver e72ca4111f
gnu: linux-libre: Update to 4.18.11.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.18.11.
(%linux-libre-hash): Update hash.
2018-09-29 15:58:27 -04:00
Mark H Weaver 92011cbf7e
gnu: linux-libre@4.14: Update to 4.14.73.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.73.
(%linux-libre-4.14-hash): Update hash.
2018-09-29 15:56:49 -04:00
Mark H Weaver 63e98a4c41
gnu: linux-libre@4.9: Update to 4.9.130.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.130.
2018-09-29 15:56:16 -04:00
Mark H Weaver 44fa365e77
gnu: linux-libre@4.4: Update to 4.4.159.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.159.
2018-09-29 15:55:23 -04:00
Leo Famulari 2a1267d3d7
gnu: isc-dhcp: Update bundled BIND to 9.11.4-P2.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Update bundled BIND to 9.11.4-P2.
2018-09-29 12:22:40 -04:00
Leo Famulari 81e69ba85d
gnu: BIND: Update to 9.12.2-P2.
* gnu/packages/dns.scm (isc-bind): Update to 9.12.2-P2.
2018-09-29 12:22:39 -04:00
fis trivial bfb22078fd
gnu: pocl: Update to 1.2.
* gnu/packages/opencl.scm (pocl): Update to 1.2.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-09-29 11:15:35 -04:00
Julien Lepiller 6f91223fd4
gnu: Add tippecanoe.
* gnu/packages/geo.scm (tippecanoe): New variable.
2018-09-29 12:39:48 +02:00
Julien Lepiller b0e2299ad8
gnu: Add osm2pgsql.
* gnu/packages/geo.scm (osm2pgsql): New variable.
2018-09-29 12:39:42 +02:00
Julien Lepiller 889e94e343
gnu: Add libosmium.
* gnu/packages/geo.scm (libosmium): New variable.
2018-09-29 12:39:39 +02:00
Julien Lepiller 8fa3451c6f
gnu: Add protozero.
* gnu/packages/geo.scm (protozero): New variable.
2018-09-29 12:39:37 +02:00
Julien Lepiller 3bd7611e4a
gnu: Add imposm3.
* gnu/packages/geo.scm (imposm3): New variable.
2018-09-29 12:39:34 +02:00
Julien Lepiller be7c64ba2d
gnu: Add tegola.
* gnu/packages/geo.scm (tegola): New variable.
2018-09-29 12:39:16 +02:00
Ludovic Courtès 1dc876a39f
status: Tweak colorization.
* guix/status.scm (colorize-log-line): Add "\<" before "FAIL" (to
distinguish from "XFAIL".
Use MAGENTA instead of ORANGE, which doesn't exist.
2018-09-28 23:34:09 +02:00
Jack Hill ccccb467fb
gnu: mcabber: Update to 1.1.0
* gnu/packages/messaging.scm (mcabber): Update to 1.1.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-28 23:28:03 +02:00
Ludovic Courtès fb94d82bc2
status: Be more defensive when looking for a log file.
* guix/store.scm (derivation-log-file): New procedure.o
(log-file): Use it.
* guix/status.scm (print-build-event): Use 'derivation-log-file' instead
of 'log-file'.  Check wheter the return value is #f.
2018-09-28 23:28:03 +02:00
Christopher Baines 258a6d944e
services: Add Gitolite.
* gnu/services/version-control.scm (<gitolite-configuration>,
<gitolite-rc-file>): New record types.
(gitolite-accounts, gitolite-activation): New procedures.
(gitolite-service-type): New variables.
* gnu/tests/version-control.scm (%gitolite-test-admin-keypair, %gitolite-os,
%test-gitolite): New variables.
(run-gitolite-test): New procedure.
* doc/guix.texi (Version Control): Document the gitolite service.
2018-09-28 21:00:18 +01:00
Christopher Baines 595af457ae
gnu: Modify the gitolite package to support the Guix service.
Previously the gitolite package worked, but there were problems using it for
the service where you might have a minimal PATH. This commit patches the
source and scripts where possible to use store paths, and also wraps the
gitolite script to handle the harder dependencies.

* gnu/packages/version-control.scm (gitolite)[arguments]: Add more patching to
the patch-scripts phase, and add two new phases (patch-source and
wrap-scripts).
[inputs]: Add coreutils, findutils and inetutils.
2018-09-28 21:00:18 +01:00
Marius Bakke 02817df07e
gnu: libreoffice: Update to 6.1.2.1.
* gnu/packages/libreoffice.scm (libreoffice): Update to 6.1.2.1.
2018-09-28 18:23:01 +02:00
Marius Bakke 31f0fc612f
gnu: rng-tools: Update to 6.5.
* gnu/packages/linux.scm (rng-tools): Update to 6.5.
2018-09-28 18:23:01 +02:00
Marius Bakke f289820c31
gnu: rng-tools: Don't use unstable tarball.
* gnu/packages/linux.scm (rng-tools)[source]: Use GIT-FETCH.
2018-09-28 18:23:01 +02:00
Marius Bakke c6b772a059
gnu: rng-tools: Update home page.
* gnu/packages/linux.scm (rng-tools)[home-page]: Set to URL mentioned in
legacy wiki.
2018-09-28 18:23:00 +02:00
Marius Bakke 87c3961871
gnu: newsboat: Update to 2.13.
* gnu/packages/syndication.scm (newsboat): Update to 2.13.
2018-09-28 18:23:00 +02:00
Marius Bakke 4353981eb0
tests: Add missing copyright statement.
This is a follow-up to commit 3b97a1779f.

* gnu/tests/web.scm: Update copyright header.
2018-09-28 18:23:00 +02:00
Leo Famulari 29bdfe1367
gnu: Krita: Update to 4.1.3.
* gnu/packages/kde.scm (krita): Update to 4.1.3.
2018-09-28 11:08:12 -04:00
Tobias Geerinckx-Rice 7edfcd61a1
gnu: httpd: Update to 2.4.35.
* gnu/packages/web.scm (httpd): Update to 2.4.35.
2018-09-28 14:22:52 +02:00
Ludovic Courtès 5abcb1b0e6
gnu: guix: Update to 7fed935.
* gnu/packages/package-management.scm (guix): Update to 7fed935.
2018-09-28 00:30:38 +02:00
Tobias Geerinckx-Rice a4764ff00a
gnu: python-fakeredis: Edit description.
* gnu/packages/databases.scm (python-fakeredis)[description]:
Fix (upstream) typo. Get carried away.
2018-09-28 00:01:43 +02:00
Tobias Geerinckx-Rice 5478ab1ece
gnu: mbpfan: Don't use unstable tarball.
* gnu/packages/linux.scm (mbpfan)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2018-09-28 00:01:43 +02:00
Tobias Geerinckx-Rice 697c584665
gnu: mbpfan: Update to 2.1.0.
* gnu/packages/linux.scm (mbpfan): Update to 2.1.0.
2018-09-28 00:01:43 +02:00
Tobias Geerinckx-Rice c32863e094
gnu: sshuttle: Patch FHS assumptions.
Reported-By: Nam Nguyen <namn@berkeley.edu>

* gnu/packages/vpn.scm (sshuttle)[arguments]: Set correct paths to 'env'
and 'sh'.
2018-09-28 00:01:43 +02:00
Ludovic Courtès 7fed9353ec
tests: Adjust services tests to new 'shepherd-service-upgrade'.
This is a followup to 4245ddcbc9.

* tests/services.scm ("shepherd-service-upgrade: one unchanged, one upgraded, one new")
("shepherd-service-upgrade: service depended on is not unloaded")
("shepherd-service-upgrade: obsolete services that depend on each
other"): Adjust to changes in 'shepherd-service-upgrade'.
2018-09-27 23:58:05 +02:00
Ludovic Courtès d4e9317b9d
tests: Update (guix build store-copy) tests.
This is a followup to a387b0bebb.

* tests/gexp.scm ("gexp->derivation, store copy")
("gexp->derivation #:references-graphs"): Add (guix progress) and (guix
records) to the imported modules.
2018-09-27 23:46:44 +02:00
Ludovic Courtès 240a9c69a6
perform-download: Optionally report a "download-progress" trace.
* guix/scripts/perform-download.scm (perform-download): Add
 #:print-build-trace? and pass it to 'url-fetch'.
(guix-perform-download): Define 'print-build-trace?' and pass it to
'perform-download'.
* guix/build/download.scm (ftp-fetch): Add #:print-build-trace? and
honor it.
(url-fetch): Likewise.
* nix/libstore/builtins.cc (builtinDownload): Set _NIX_OPTIONS
environment variable.
2018-09-27 23:21:53 +02:00
Ludovic Courtès dc0f74e5fc
Add (guix status) and use it for pretty colored output.
* guix/progress.scm (progress-reporter/trace): New procedure.
(%progress-interval): New variable.
(progress-reporter/file): Use it.
* guix/scripts/build.scm (set-build-options-from-command-line): Pass
 #:print-extended-build-trace?.
(%default-options): Add 'print-extended-build-trace?'.
(guix-build): Parameterize CURRENT-TERMINAL-COLUMNS.  Use
'build-status-updater'.
* guix/scripts/environment.scm (%default-options): Add
'print-extended-build-trace?'.
(guix-environment): Wrap body in 'with-status-report'.
* guix/scripts/pack.scm (%default-options): Add 'print-build-trace?' and
'print-extended-build-trace?'.
(guix-pack): Wrap body in 'with-status-report'.
* guix/scripts/package.scm (%default-options, guix-package): Likewise.
* guix/scripts/system.scm (%default-options, guix-system): Likewise.
* guix/scripts/pull.scm (%default-options, guix-pull): Likewise.
* guix/scripts/substitute.scm (progress-report-port): Don't call STOP
when TOTAL is zero.
(process-substitution): Add #:print-build-trace? and honor it.
(guix-substitute)[print-build-trace?]: New variable.
Pass #:print-build-trace? to 'process-substitution'.
* guix/status.scm: New file.
* guix/store.scm (set-build-options): Add #:print-extended-build-trace?;
pass it into PAIRS.
(%protocol-version): Bump.
(protocol-version, nix-server-version): New procedures.
(current-store-protocol-version): New variable.
(with-store, build-things): Parameterize it.
* guix/ui.scm (build-output-port): Remove.
(colorize-string): Export.
* po/guix/POTFILES.in: Add guix/status.scm.
* tests/status.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x162.
* nix/libstore/build.cc (DerivationGoal::registerOutputs)
(SubstitutionGoal::finished): Print a "@ hash-mismatch" trace before
throwing.
2018-09-27 23:21:53 +02:00
Ludovic Courtès fe65b559a6
progress: Add 'display-download-progress'.
* guix/progress.scm (display-download-progress): New procedure.
(progress-reporter/file)[render]: Rewrite in terms of
'display-download-progress'.
2018-09-27 23:21:53 +02:00