Browse Source

gnu: php-with-bcmath: Deprecate in favour of 'php'.

This is a follow-up to 4629d26755.

* gnu/packages/php.scm (php-with-bcmath): Deprecate in favour of 'php'.
* gnu/tests/monitoring.scm (%zabbix-os): Use this.
qt-updates
Oleg Pykhalov 3 years ago
parent
commit
8b6c91ba53
No known key found for this signature in database GPG Key ID: 167F8EA5001AFA9C
  1. 9
      gnu/packages/php.scm
  2. 5
      gnu/tests/monitoring.scm

9
gnu/packages/php.scm

@ -3,6 +3,7 @@
;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Oleg Pykhalov <go.wigust@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -353,10 +354,4 @@ systems, web content management systems and web frameworks." )
license:expat)))) ; ext/date/lib
(define-public php-with-bcmath
(package
(inherit php)
(name "php-with-bcmath")
(arguments
(substitute-keyword-arguments (package-arguments php)
((#:configure-flags flags)
`(cons "--enable-bcmath" ,flags))))))
(deprecated-package "php-with-bcmath" php))

5
gnu/tests/monitoring.scm

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018, 2019 Oleg Pykhalov <go.wigust@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -307,8 +307,7 @@ zabbix||{}
(service php-fpm-service-type
(php-fpm-configuration
(timezone "Europe/Paris")
(php php-with-bcmath)))
(timezone "Europe/Paris")))
(service zabbix-server-service-type
(zabbix-server-configuration

Loading…
Cancel
Save