summary refs log tree commit diff
path: root/gnu/packages/php-xyz.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-19 08:09:46 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-19 16:21:24 +0200
commit8c07a2c2ba8203da310bda7532b1acd3468fa57c (patch)
tree3cce10237c300170556f342d62e73771fb4b50b1 /gnu/packages/php-xyz.scm
parentfa92a7c2fe0c5b9e9923ad5f53bafd41aa6dbe66 (diff)
downloadguix-8c07a2c2ba8203da310bda7532b1acd3468fa57c.tar.gz
gnu: composer-classloader: Use copy-build-system.
* gnu/packages/php-xyz.scm (composer-classloader)[build-system]: Switch
to the copy-build-system.
[arguments]: Adjust accordingly.

Change-Id: Idb39ba92d973362bd6d8c1dd944a5d46919de5df
Diffstat (limited to 'gnu/packages/php-xyz.scm')
-rw-r--r--gnu/packages/php-xyz.scm18
1 files changed, 4 insertions, 14 deletions
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index ac90ee3c25..bef5a2dcb4 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -20,10 +20,8 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages php)
   #:use-module (guix packages)
-  #:use-module (guix download)
   #:use-module (guix git-download)
-  #:use-module (guix build-system composer)
-  #:use-module (guix build-system gnu)
+  #:use-module (guix build-system copy)
   #:use-module (guix utils)
   #:use-module ((guix licenses) #:prefix license:))
 
@@ -40,18 +38,10 @@
        (file-name (git-file-name name version))
        (sha256
         (base32 "0127zmmg3yx84ljngfs86q7kjhyypybkf4d1ihfrfnzgynzxfxdf"))))
-    (build-system gnu-build-system)
+    (build-system copy-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (delete 'build)
-         (delete 'check)
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out")))
-               (install-file "src/Composer/Autoload/ClassLoader.php"
-                             (string-append out "/share/web/composer/"))))))))
+     `(#:install-plan
+       '(("src/Composer/Autoload/ClassLoader.php" "/share/web/composer/"))))
     (home-page "https://getcomposer.org")
     (synopsis "PHP class loader extracted from the composer package")
     (description "This package contains the class loader class used by Composer to