Commit Graph

38279 Commits

Author SHA1 Message Date
Julien Lepiller d6fa189eef
gnu: ocaml-re: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-re): Use dune-build-system.
2018-12-18 22:16:55 +01:00
Julien Lepiller 48b27902de
gnu: ocaml-cppo: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-cppo): Use dune-build-system.
2018-12-18 22:16:52 +01:00
Julien Lepiller 5d0712638f
gnu: ocaml-lwt-log: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-lwt-log): Use dune-build-system.
2018-12-18 22:16:50 +01:00
Julien Lepiller f880b03bca
gnu: ocaml-lwt: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-lwt): Use dune-build-system.
2018-12-18 22:16:48 +01:00
Julien Lepiller f93246a541
gnu: ocaml-bitstring: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-bitstring): Use dune-build-system.
(ocaml4.02-bitstring)[build-system]: Use ocaml-build-system explicitly.
2018-12-18 22:16:45 +01:00
Julien Lepiller 59fa09e1cd
gnu: ocaml-ppx-tools-versioned: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-ppx-tools-versioned): Use
dune-build-system.  Remove duplicate definition.
2018-12-18 22:16:41 +01:00
Julien Lepiller effc8325a5
gnu: ocaml-migrate-parsetree: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-migrate-parsetree): Use
dune-build-system.
2018-12-18 22:16:37 +01:00
Julien Lepiller 6e8986c838
build: Add dune-build-system.
* guix/build/dune-build-system.scm,
  guix/build-system/dune.scm: New files.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Build Systems): Document dune-build-system.
* guix/build-system/ocaml.scm (lower, default-findlib, default-ocaml): Export
them.
(package-with-explicit-ocaml): Also transform packages built with
dune-build-system.
2018-12-18 22:16:23 +01:00
Nam Nguyen d852cf9e33
gnu: Add sct.
* gnu/packages/xdisorg.scm (sct): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-12-18 17:23:39 +01:00
Ludovic Courtès 5de5f81845
file-systems: Have the emergency REPL output to /dev/console.
This fixes a bug whereby all emergency REPL output would go to /dev/klog
and thus, each line would be prefixed by "[12324.432] shepherd[1]: ".

* gnu/build/file-systems.scm (check-file-system): Wrap 'start-repl' call
in 'with-output-to-file'.
2018-12-18 16:04:26 +01:00
Ludovic Courtès 6ea6e1476f
file-systems: Spawn a REPL only when interaction is possible.
Fixes <https://bugs.gnu.org/23697>.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

* gnu/build/file-systems.scm (check-file-system): Call 'start-repl' only
if current-input-port passes 'isatty?'.
* gnu/services/shepherd.scm (shepherd-configuration-file): After
'for-each' expression, call 'redirect-port'.
* gnu/tests/base.scm (run-basic-test)["stdin is /dev/null"]: New test.
2018-12-18 16:04:26 +01:00
Ludovic Courtès 65c8a04370
doc: Remove stale reference to 'hydra.gnu.org'.
Reported by Thomas Schmitt <scdbackup@gmx.net>.

* doc/guix.texi (Binary Installation): Refer to SUBSTITUTE-SERVER, not
to 'hydra.gnu.org'.
2018-12-18 16:04:25 +01:00
swedebugia bd5a81f9b8
guix system: Clarify the three strategies available.
* guix/scripts/system.scm (show-help): Clarify the three choices.
* doc/guix.texi (Invoking guix system): Add 3 @cindex to make on-error=strategy
easier to find.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-12-18 16:04:25 +01:00
Ludovic Courtès 4d55431d89
doc: Fix typo in '.guix-channel' example.
* doc/guix.texi (Channels): Remove extra quote in '.guix-channel'
example.
2018-12-18 16:04:25 +01:00
Timothy Sample 6616a35202
ui: Report file names in 'system-error' exceptions from 'execlp'.
Fixes <https://bugs.gnu.org/33755>.

* guix/ui.scm (apply-formals): New macro.
(execlp): New error-reporting wrapper.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-12-18 16:04:25 +01:00
Rutger Helling 83d4da1211
gnu: libostree: Update to 2018.9.1.
* gnu/packages/package-management.scm (libostree): Update to 2018.9.1.
2018-12-18 14:53:43 +01:00
Jelle Licht b8d5fbd86f
doc: Replace 'https-port' with 'listen' in nginx php example.
* doc/guix.texi (Web Services): Update accordingly.
2018-12-18 14:50:47 +01:00
Jelle Licht 232cc1001d
gnu: emacs-daemons: Update to 2.0.0.
* gnu/packages/emacs.scm (emacs-daemons): Update to 2.0.0.
2018-12-18 11:34:41 +01:00
Pierre Neidhardt ad01ab1610
gnu: emacs-helpful: Update to 0.15.
* gnu/packages/emacs.scm (emacs-helpful): Update to 0.15.
2018-12-18 10:40:54 +01:00
Pierre Neidhardt 809b959680
gnu: emacs-evil-collection: Update to 20181218.
* gnu/packages/emacs.scm (emacs-evil-collection): Update to 20181218.
2018-12-18 09:33:05 +01:00
Rutger Helling c340d8dc74
gnu: git: Update to 2.20.1.
* gnu/packages/version-control.scm (git): Update to 2.20.1.
2018-12-18 09:26:17 +01:00
Arun Isaac 01cb4d4757
gnu: ansible: Work around issues with Guix wrapper scripts.
* gnu/packages/admin.scm (ansible)[source]: Remove
ansible-wrap-program-hack.patch from patches.
[arguments]: Add hide-wrapping and fix-symlinks phases.
* gnu/packages/patches/ansible-wrap-program-hack.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
2018-12-18 11:20:56 +05:30
Mark H Weaver 6a9659f5d8
gnu: linux-libre: Update to 4.19.10.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.19.10.
(%linux-libre-hash): Update hash.
2018-12-17 23:36:03 -05:00
Mark H Weaver ce146a872c
gnu: linux-libre@4.14: Update to 4.14.89.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.89.
(%linux-libre-4.14-hash): Update hash.
2018-12-17 23:35:13 -05:00
Mark H Weaver 42159e76e2
gnu: linux-libre@4.9: Update to 4.9.146.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.146.
2018-12-17 23:34:34 -05:00
Mark H Weaver c15ba0dbf1
gnu: linux-libre@4.4: Update to 4.4.168.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.168.
2018-12-17 23:33:55 -05:00
Leo Famulari ed411eb2b8
gnu: RawTherapee: Update to 5.5.
* gnu/packages/photo.scm (rawtherapee): Update to 5.5.
2018-12-17 19:58:44 -05:00
Leo Famulari 997aa1af99
gnu: WebKitGTK+ 2.22: Update to 2.22.5 [fixes CVE-2018-4437].
* gnu/packages/webkit.scm (webkitgtk-2.22): Update to 2.22.5.
2018-12-17 18:21:43 -05:00
Ludovic Courtès 9b9de08477
publish: Add a 'Cache-Control' header on /nar responses.
Fixes <https://bugs.gnu.org/33721>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* guix/scripts/publish.scm (render-nar/cached): Add #:ttl and honor it.
(make-request-handler): Pass #:ttl to 'render-nar/cached'.
* tests/publish.scm ("with cache, uncompressed"): Pass "--ttl=42h" to
'guix publish'.  Check 'Cache-Control' on narinfo response and on nar
response.
2018-12-17 23:33:42 +01:00
Ludovic Courtès a93c160631
environment: Support package transformation options.
Fixes <https://bugs.gnu.org/33776>.
Reported by Adrien Guilbaud <adrien.guilbaud@inria.fr>.

* guix/scripts/environment.scm (show-help): Add call to
'show-transformation-options-help'.
(%options): Add %TRANSFORMATION-OPTIONS.
(options/resolve-packages): Add 'store' parameter.
[transform, package->manifest-entry*]: New procedures.
Use 'package->manifest-entry*' instead of 'package->manifest-entry'.
(guix-environment): Move definition of 'manifest' within 'with-store'.
* tests/guix-environment.sh: Add test.
2018-12-17 23:33:42 +01:00
Ludovic Courtès bafcf1f32f
services: udev: Add 'rules' action.
* gnu/services/base.scm (udev-shepherd-service): Add 'actions' field.
* doc/guix.texi (Base Services): Move "@end deffn" after 'udev-service'
definition.  Mention 'herd rules udev'.
2018-12-17 23:33:42 +01:00
Julien Lepiller cce654fabd
import: Update opam importer.
* guix/import/opam.scm: Update importer for opam 2.
* tests/opam.scm: Update tests for the opam 2 importer.
2018-12-17 21:43:51 +01:00
Julien Lepiller 2a6ba9ff61
gnu: opam: Fix package installation.
Opam builds packages in an isolated environment, but packages still
assume they can access system tools like a compiler, make, etc... Mount
/gnu and /run/current-system so these tools are also available to opam
packages on GuixSD.

* gnu/packages/ocaml.scm (opam)[arguments]: Fix bwrap.sh to also mount
the store and the system profile in the opam environment.
2018-12-17 21:30:46 +01:00
Oleg Pykhalov f2f956010c
gnu: zabbix-agentd: Update to 4.0.2.
* gnu/packages/monitoring.scm (zabbix-agentd): Update to 4.0.2.
2018-12-17 22:09:11 +03:00
Oleg Pykhalov 85c07cff9c
services: monitoring: Add 'zabbix-front-end'.
* gnu/services/monitoring.scm (nginx-server-configuration-list?,
serialize-nginx-server-configuration-list, zabbix-front-end-configuration,
zabbix-front-end-config, zabbix-front-end-activation,
generate-zabbix-front-end-documentation): New procedures.
(%zabbix-front-end-configuration-nginx, %maintenance.inc.php,
zabbix-front-end-service-type): New variables.
* doc/guix.texi (Monitoring Services): Document this.
2018-12-17 22:09:11 +03:00
Oleg Pykhalov 1a3e7534d0
gnu: Add php-with-bcmath.
* gnu/packages/php.scm (php-with-bcmath): New variable.
2018-12-17 22:09:11 +03:00
Oleg Pykhalov e517161d6b
services: php-fpm: Add 'timezone' configuration.
* gnu/services/web.scm: (<php-fpm-configuration>)[timezone]: New record field.
(default-php-fpm-config, php-fpm-shepherd-service, php-fpm-activation): Use
this.
* doc/guix.texi (Web Services): Document this.
2018-12-17 22:09:10 +03:00
Oleg Pykhalov 6106d7cae4
services: monitoring: Add 'zabbix-agent'.
* gnu/services/monitoring.scm (zabbix-server-service-type,
zabbix-agent-account, zabbix-agent-activation, zabbix-agent-config-file,
zabbix-agent-shepherd-service, generate-zabbix-agent-documentation): New
procedures.
(zabbix-agent-service-type): New 'service-type'.
* gnu/tests/monitoring.scm (run-zabbix-server-test): Test 'zabbix-agent'.
(%zabbix-os): Add 'zabbix-agent' service.
* doc/guix.texi (Monitoring Services): Document 'zabbix-agent'.
2018-12-17 22:09:10 +03:00
Oleg Pykhalov 6b1c4179e2
services: monitoring: Add 'zabbix-server'.
* gnu/services/monitoring.scm (uglify-field-name, serialize-field,
serialize-number, serialize-list, serialize-string, group?, serialize-group,
include-files?, serialize-include-files, zabbix-server-account,
zabbix-server-config-file, zabbix-server-activation,
zabbix-server-shepherd-service, generate-zabbix-server-documentation,
extra-options, serialize-extra-options): New procedures.
(zabbix-server-service-type): New variable.
* gnu/tests/monitoring.scm (%psql-user-create-zabbix,
%psql-db-zabbix-create-script, %psql-db-create-zabbix, %psql-db-import-zabbix,
%zabbix-os, %test-zabbix): New variables.
(run-zabbix-server-test): New procedure.
* doc/guix.texi (Monitoring Services): Document 'zabbix-server'.

squash! services: monitoring: Add 'zabbix-server'.
2018-12-17 22:09:10 +03:00
Oleg Pykhalov 2c9ac8392a
gnu: zabbix-server: Split output.
* gnu/packages/monitoring.scm (zabbix-server)[outputs]: Add 'front-end' and
'schema' outputs.
2018-12-17 22:09:10 +03:00
Rutger Helling a7ad051d8a
gnu: wget: Update to 1.20.
* gnu/packages/wget.scm (wget): Update to 1.20.
2018-12-17 16:18:35 +01:00
Efraim Flashner 1e2ebf7ca4
gnu: tree: Update to 1.8.0.
* gnu/packages/admin.scm (tree): Update to 1.8.0.
2018-12-17 12:08:06 +02:00
Efraim Flashner 5c0b6d1b1d
gnu: elemental: Don't use unstable tarball.
* gnu/packages/maths.scm (elemental)[source]: Download source using
git-fetch.
2018-12-17 12:08:06 +02:00
Efraim Flashner 3b42e2be92
gnu: elemental: Fix indentation.
* gnu/packages/maths.scm (elemental): Fix indentation of the package
definition.
2018-12-17 12:08:06 +02:00
Efraim Flashner ad6c6a5be5
gnu: z3: Fix building on non-Intel machines.
* gnu/packages/maths.scm (z3)[arguments]: Add phase to remove
unnecessary include statement.
2018-12-17 12:08:06 +02:00
Efraim Flashner 2d7b99b3c6
gnu: z3: Declare source-file-name.
* gnu/packages/maths.scm (z3)[source]: Add missing 'file-name.
2018-12-17 12:08:05 +02:00
Efraim Flashner 917f5ee75c
gnu: kicad: Don't hardcode version numbers.
* gnu/packages/engineering.scm (kicad)[source]: Replace hardcoded
version number with parameterized one.
[arguments]: Same.
2018-12-17 12:08:05 +02:00
Efraim Flashner 4ae16f9c4e
gnu: avogadro: Don't hardcode python version.
* gnu/packages/chemistry.scm (avogadro)[arguments]: Replace hardcoded
python version with parametrized one.
2018-12-17 12:08:05 +02:00
Efraim Flashner 2f3977b9a7
gnu: gess: Don't hardcode python version.
* gnu/packages/bioinformatics.scm (gess)[arguments]: Replace hardcoded
python version with parameterized one.
2018-12-17 12:08:05 +02:00
Efraim Flashner cc729d257c
gnu: nmap: Don't hardcode python version.
* gnu/packages/admin.scm (nmap)[arguments]: Replace hardcoded python
version with parameterized one.
2018-12-17 12:08:01 +02:00