Subject: [bug#67902] [PATCH v5 02/54] gnu: php-xyz: Move module to php-bootstrap.

From: Nicolas Graves <[email-masked]>
Date: Fri, 18 Oct 2024 01:05:25 +0200

* gnu/packages/php-xyz.scm: Move from here...
* gnu/packages/php-bootstrap.scm: ... to here.

Motivation: This currently only contains packages necessary to build
phpunit in a bootstrapped way. We probably don't want those in the
middle of a php-xyz file.
---
 gnu/local.mk                                    | 2 +-
 gnu/packages/{php-xyz.scm => php-bootstrap.scm} | 2 +-
 guix/build-system/composer.scm                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename gnu/packages/{php-xyz.scm => php-bootstrap.scm} (97%)

diff --git a/gnu/local.mk b/gnu/local.mk
index c48f4bfeca..c2d070a181 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -532,7 +532,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/photo.scm			\
   %D%/packages/phabricator.scm 			\
   %D%/packages/php.scm				\
-  %D%/packages/php-xyz.scm			\
+  %D%/packages/php-bootstrap.scm		\
   %D%/packages/piet.scm			\
   %D%/packages/pikchr.scm			\
   %D%/packages/pkg-config.scm			\
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-bootstrap.scm
similarity index 97%
rename from gnu/packages/php-xyz.scm
rename to gnu/packages/php-bootstrap.scm
index bef5a2dcb4..7035a688d2 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -16,7 +16,7 @@
 ;;; You should have received a copy of the GNU General Public License
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
-(define-module (gnu packages php-xyz)
+(define-module (gnu packages php-bootstrap)
   #:use-module (gnu packages)
   #:use-module (gnu packages php)
   #:use-module (guix packages)
diff --git a/guix/build-system/composer.scm b/guix/build-system/composer.scm
index 48ad90f253..f6cc5be8d6 100644
--- a/guix/build-system/composer.scm
+++ b/guix/build-system/composer.scm
@@ -55,7 +55,7 @@ (define (default-composer-classloader)
   "Return the default composer-classloader package."
 
   ;; Do not use `@' to avoid introducing circular dependencies.
-  (let ((module (resolve-interface '(gnu packages php-xyz))))
+  (let ((module (resolve-interface '(gnu packages php-bootstrap))))
     (module-ref module 'composer-classloader)))
 
 (define %composer-build-system-modules
-- 
2.46.0