GNU bug report logs - #67902
[PATCH 00/95] PHP package chain.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 19 Dec 2023 13:48:02 UTC

Severity: normal

Tags: patch

Full log


Message #902 received at 67902 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 67902 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH v5 02/54] gnu: php-xyz: Move module to php-bootstrap.
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





This bug report was last modified 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.