diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-30 17:36:51 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:21:29 +0200 |
commit | 34028a27bee1d757ef4b876581ec7a5209866553 (patch) | |
tree | 6f9a7e126fe46ecc92d6cd944fccf22f88c400c2 /gnu/packages/web.scm | |
parent | 0317ddea5e86edb4a5dfb6c2cdb18a41e32cb711 (diff) |
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
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r-- | gnu/packages/web.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 7c7ea36648..ce58ee10fe 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7388,9 +7388,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) |