guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/410: gnu: castor: Improve the package.


From: guix-commits
Subject: 01/410: gnu: castor: Improve the package.
Date: Tue, 31 Dec 2024 14:35:38 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 04baeeadcaf191b70e0f3f8d048fff56550b066c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Dec 30 17:36:51 2024 +0200

    gnu: castor: Improve the package.
    
    * gnu/packages/web.scm (castor)[arguments]: Don't install the sources.
    Don't run the tests in parallel.  Remove cargo-test-flags.  Add a phase
    to install the icons and .desktop file.
    
    Change-Id: I18a9f701cb54abfa862c8cc3e60aa12ed61d0799
---
 gnu/packages/web.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 44437f9fa1..42dd5b7508 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -7387,9 +7387,13 @@ file links.")
       #~(modify-phases %standard-phases
           (add-after 'unpack 'relax-cargo-requirements
             (lambda _
-              (substitute* "Cargo.toml" (("~") "")))))
-      #:cargo-test-flags
-      '(list "--" "--skip=absolute_url::test_make_absolute_just_path")
+              (substitute* "Cargo.toml" (("~") ""))))
+          (add-after 'install 'install-data
+            (lambda _
+              (invoke "make" (string-append "PREFIX=" #$output)
+                      "copy-data"))))
+      #:parallel-tests? #f  ; As per the Makefile
+      #:install-source? #f
       #:cargo-inputs
       `(("rust-ansi-parser" ,rust-ansi-parser-0.6)
         ("rust-dirs" ,rust-dirs-3)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]