diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-17 00:22:33 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:18 +0100 |
| commit | 29f2f54fe880f0610cbba7a7ca4661e0fd3f3e77 (patch) | |
| tree | 5cdbe8d9d8c5b65b0d7680cdcf3686ea5be88243 /gnu/packages | |
| parent | c0b30ed0d3b22b44908f1ec0019541b24189c21a (diff) | |
build-system/cargo: Remove uneeded use of cargo-guile-json.
* gnu/packages/antivirus.scm (clamav)
* gnu/packages/freedesktop.scm (waypipe)
* gnu/packages/gnome.scm (librsvg)
* gnu/packages/kde-pim.scm (kdepim-addons)
* gnu/packages/language.scm (libchewing)
* gnu/packages/rust-apps.scm (helvum)
* gnu/packages/shells.scm (fish):
[arguments]<#:phases>: Remove uneeded use of cargo-guile-json
extension.
Change-Id: I041819515585777a3d63945b755d71e607fa0650
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/antivirus.scm | 3 | ||||
| -rw-r--r-- | gnu/packages/freedesktop.scm | 19 | ||||
| -rw-r--r-- | gnu/packages/gnome.scm | 6 | ||||
| -rw-r--r-- | gnu/packages/kde-pim.scm | 3 | ||||
| -rw-r--r-- | gnu/packages/language.scm | 3 | ||||
| -rw-r--r-- | gnu/packages/rust-apps.scm | 3 | ||||
| -rw-r--r-- | gnu/packages/shells.scm | 3 |
7 files changed, 16 insertions, 24 deletions
diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm index 5a6625e2088..bc3a472809c 100644 --- a/gnu/packages/antivirus.scm +++ b/gnu/packages/antivirus.scm @@ -83,7 +83,6 @@ (guix build cmake-build-system) (guix build utils)) #:phases - (with-extensions (list (cargo-guile-json)) #~(modify-phases %standard-phases (add-after 'unpack 'prepare-cargo-build-system (lambda args @@ -112,7 +111,7 @@ (substitute* "unit_tests/CMakeLists.txt" (("clamd_test\\.py" test) (string-append - test " -k \"not test_clamd_08_VirusEvent\"")))))))))) + test " -k \"not test_clamd_08_VirusEvent\""))))))))) (native-inputs (append (list pkg-config diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index d0d3de84c2a..29b77b4d29b 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -3570,25 +3570,24 @@ notifies the user using any notification daemon implementing (guix build meson-build-system) (guix build utils)) #:phases - (with-extensions (list (cargo-guile-json)) - #~(modify-phases %standard-phases + #~(modify-phases %standard-phases (add-after 'unpack 'prepare-cargo-build-system (lambda args (for-each - (lambda (phase) - (apply (assoc-ref cargo:%standard-phases phase) - #:cargo-target #$(cargo-triplet) args)) - '(unpack-rust-crates - configure - check-for-pregenerated-files - patch-cargo-checksums)))) + (lambda (phase) + (apply (assoc-ref cargo:%standard-phases phase) + #:cargo-target #$(cargo-triplet) args)) + '(unpack-rust-crates + configure + check-for-pregenerated-files + patch-cargo-checksums)))) (add-after 'unpack 'patch-vulkan (lambda* (#:key inputs #:allow-other-keys) (substitute* "src/dmabuf.rs" (("Entry::load\\(\\)") (string-append "Entry::load_from(\"" (search-input-file inputs "lib/libvulkan.so") - "\")"))))))) + "\")")))))) #:configure-flags #~(list "-Dwith_lz4=enabled" "-Dwith_vaapi=enabled" diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index f313fa730ad..f0d9f71a4ca 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3599,7 +3599,6 @@ for dealing with different structured file formats.") (guix build gnu-build-system) (guix build utils)) #:phases - (with-extensions (list (cargo-guile-json)) #~(modify-phases %standard-phases (add-after 'unpack 'patch-gdk-pixbuf-thumbnailer (lambda* (#:key inputs #:allow-other-keys) @@ -3651,7 +3650,7 @@ for dealing with different structured file formats.") '(unpack-rust-crates configure check-for-pregenerated-files - patch-cargo-checksums)))))))) + patch-cargo-checksums))))))) (native-inputs (append (list gdk-pixbuf @@ -10492,7 +10491,6 @@ specified duration and save it as a GIF encoded animated image file.") (guix build meson-build-system) (guix build utils)) #:phases - (with-extensions (list (cargo-guile-json)) #~(modify-phases %standard-phases (add-after 'unpack 'prepare-for-build (lambda _ @@ -10519,7 +10517,7 @@ specified duration and save it as a GIF encoded animated image file.") '(unpack-rust-crates configure check-for-pregenerated-files - patch-cargo-checksums)))))))) + patch-cargo-checksums))))))) (native-inputs (append (list gettext-minimal diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm index b6a48de27a0..109487d3bbc 100644 --- a/gnu/packages/kde-pim.scm +++ b/gnu/packages/kde-pim.scm @@ -1008,7 +1008,6 @@ verifiedserverdialogtest" ;SEGFAULT (guix build qt-build-system) (guix build utils)) #:phases - (with-extensions (list (cargo-guile-json)) #~(modify-phases %standard-phases (add-before 'configure 'change-directory-to-adblock (lambda _ @@ -1031,7 +1030,7 @@ verifiedserverdialogtest" ;SEGFAULT (lambda* (#:key tests? (test-exclude "") #:allow-other-keys) (setenv "HOME" "/tmp") (when tests? - (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))) + (invoke "dbus-launch" "ctest" "-E" test-exclude))))))) (native-inputs (list corrosion dbus diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 21e0aaa7704..930b43e70b2 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -301,7 +301,6 @@ Random Cage Fighting Birds, Cool Music etc.") ,@%cargo-build-system-modules) #:out-of-source? #f ;For the tests. #:phases - (with-extensions (list (cargo-guile-json)) #~(modify-phases %standard-phases (add-after 'unpack 'prepare-cargo-build-system (lambda args @@ -321,7 +320,7 @@ Random Cage Fighting Birds, Cool Music etc.") (lambda _ ;; Remove this phase when we can find ncurses with cmake. (substitute* "tests/CMakeLists.txt" - (("CURSES_FOUND") "FALSE")))))))) + (("CURSES_FOUND") "FALSE"))))))) (native-inputs (append (list rust `(,rust "cargo") ) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index a6f3595474a..9bfb6c979f4 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -1364,7 +1364,6 @@ repositories.") (guix build meson-build-system) (guix build utils)) #:phases - (with-extensions (list (cargo-guile-json)) #~(modify-phases %standard-phases (add-after 'unpack 'prepare-for-build (lambda _ @@ -1387,7 +1386,7 @@ repositories.") '(unpack-rust-crates configure check-for-pregenerated-files - patch-cargo-checksums)))))))) + patch-cargo-checksums))))))) (native-inputs (list clang pkg-config rust `(,rust "cargo"))) (inputs (cons* glib gtk libadwaita pipewire (cargo-inputs 'helvum))) (home-page "https://gitlab.freedesktop.org/pipewire/helvum") diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 5fe831a76c0..cb2d00c74a2 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -171,7 +171,6 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).") ((guix build gnu-build-system) #:prefix gnu:) (guix build utils)) #:phases - (with-extensions (list (cargo-guile-json)) #~(modify-phases %standard-phases (add-after 'unpack 'use-guix-vendored-dependencies (lambda _ @@ -302,7 +301,7 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).") " set -e fish_function_path\n" "end\n") port) - (close-port port)))))))) + (close-port port))))))) (synopsis "The friendly interactive shell") (description "Fish (friendly interactive shell) is a shell focused on interactive use, |
