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 | |
| 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')
| -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 @@ | |||
| 83 | (guix build cmake-build-system) | 83 | (guix build cmake-build-system) |
| 84 | (guix build utils)) | 84 | (guix build utils)) |
| 85 | #:phases | 85 | #:phases |
| 86 | (with-extensions (list (cargo-guile-json)) | ||
| 87 | #~(modify-phases %standard-phases | 86 | #~(modify-phases %standard-phases |
| 88 | (add-after 'unpack 'prepare-cargo-build-system | 87 | (add-after 'unpack 'prepare-cargo-build-system |
| 89 | (lambda args | 88 | (lambda args |
| @@ -112,7 +111,7 @@ | |||
| 112 | (substitute* "unit_tests/CMakeLists.txt" | 111 | (substitute* "unit_tests/CMakeLists.txt" |
| 113 | (("clamd_test\\.py" test) | 112 | (("clamd_test\\.py" test) |
| 114 | (string-append | 113 | (string-append |
| 115 | test " -k \"not test_clamd_08_VirusEvent\"")))))))))) | 114 | test " -k \"not test_clamd_08_VirusEvent\""))))))))) |
| 116 | (native-inputs | 115 | (native-inputs |
| 117 | (append | 116 | (append |
| 118 | (list pkg-config | 117 | (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 | |||
| 3570 | (guix build meson-build-system) | 3570 | (guix build meson-build-system) |
| 3571 | (guix build utils)) | 3571 | (guix build utils)) |
| 3572 | #:phases | 3572 | #:phases |
| 3573 | (with-extensions (list (cargo-guile-json)) | 3573 | #~(modify-phases %standard-phases |
| 3574 | #~(modify-phases %standard-phases | ||
| 3575 | (add-after 'unpack 'prepare-cargo-build-system | 3574 | (add-after 'unpack 'prepare-cargo-build-system |
| 3576 | (lambda args | 3575 | (lambda args |
| 3577 | (for-each | 3576 | (for-each |
| 3578 | (lambda (phase) | 3577 | (lambda (phase) |
| 3579 | (apply (assoc-ref cargo:%standard-phases phase) | 3578 | (apply (assoc-ref cargo:%standard-phases phase) |
| 3580 | #:cargo-target #$(cargo-triplet) args)) | 3579 | #:cargo-target #$(cargo-triplet) args)) |
| 3581 | '(unpack-rust-crates | 3580 | '(unpack-rust-crates |
| 3582 | configure | 3581 | configure |
| 3583 | check-for-pregenerated-files | 3582 | check-for-pregenerated-files |
| 3584 | patch-cargo-checksums)))) | 3583 | patch-cargo-checksums)))) |
| 3585 | (add-after 'unpack 'patch-vulkan | 3584 | (add-after 'unpack 'patch-vulkan |
| 3586 | (lambda* (#:key inputs #:allow-other-keys) | 3585 | (lambda* (#:key inputs #:allow-other-keys) |
| 3587 | (substitute* "src/dmabuf.rs" | 3586 | (substitute* "src/dmabuf.rs" |
| 3588 | (("Entry::load\\(\\)") | 3587 | (("Entry::load\\(\\)") |
| 3589 | (string-append "Entry::load_from(\"" | 3588 | (string-append "Entry::load_from(\"" |
| 3590 | (search-input-file inputs "lib/libvulkan.so") | 3589 | (search-input-file inputs "lib/libvulkan.so") |
| 3591 | "\")"))))))) | 3590 | "\")")))))) |
| 3592 | #:configure-flags | 3591 | #:configure-flags |
| 3593 | #~(list "-Dwith_lz4=enabled" | 3592 | #~(list "-Dwith_lz4=enabled" |
| 3594 | "-Dwith_vaapi=enabled" | 3593 | "-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.") | |||
| 3599 | (guix build gnu-build-system) | 3599 | (guix build gnu-build-system) |
| 3600 | (guix build utils)) | 3600 | (guix build utils)) |
| 3601 | #:phases | 3601 | #:phases |
| 3602 | (with-extensions (list (cargo-guile-json)) | ||
| 3603 | #~(modify-phases %standard-phases | 3602 | #~(modify-phases %standard-phases |
| 3604 | (add-after 'unpack 'patch-gdk-pixbuf-thumbnailer | 3603 | (add-after 'unpack 'patch-gdk-pixbuf-thumbnailer |
| 3605 | (lambda* (#:key inputs #:allow-other-keys) | 3604 | (lambda* (#:key inputs #:allow-other-keys) |
| @@ -3651,7 +3650,7 @@ for dealing with different structured file formats.") | |||
| 3651 | '(unpack-rust-crates | 3650 | '(unpack-rust-crates |
| 3652 | configure | 3651 | configure |
| 3653 | check-for-pregenerated-files | 3652 | check-for-pregenerated-files |
| 3654 | patch-cargo-checksums)))))))) | 3653 | patch-cargo-checksums))))))) |
| 3655 | (native-inputs | 3654 | (native-inputs |
| 3656 | (append | 3655 | (append |
| 3657 | (list gdk-pixbuf | 3656 | (list gdk-pixbuf |
| @@ -10492,7 +10491,6 @@ specified duration and save it as a GIF encoded animated image file.") | |||
| 10492 | (guix build meson-build-system) | 10491 | (guix build meson-build-system) |
| 10493 | (guix build utils)) | 10492 | (guix build utils)) |
| 10494 | #:phases | 10493 | #:phases |
| 10495 | (with-extensions (list (cargo-guile-json)) | ||
| 10496 | #~(modify-phases %standard-phases | 10494 | #~(modify-phases %standard-phases |
| 10497 | (add-after 'unpack 'prepare-for-build | 10495 | (add-after 'unpack 'prepare-for-build |
| 10498 | (lambda _ | 10496 | (lambda _ |
| @@ -10519,7 +10517,7 @@ specified duration and save it as a GIF encoded animated image file.") | |||
| 10519 | '(unpack-rust-crates | 10517 | '(unpack-rust-crates |
| 10520 | configure | 10518 | configure |
| 10521 | check-for-pregenerated-files | 10519 | check-for-pregenerated-files |
| 10522 | patch-cargo-checksums)))))))) | 10520 | patch-cargo-checksums))))))) |
| 10523 | (native-inputs | 10521 | (native-inputs |
| 10524 | (append | 10522 | (append |
| 10525 | (list gettext-minimal | 10523 | (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 | |||
| 1008 | (guix build qt-build-system) | 1008 | (guix build qt-build-system) |
| 1009 | (guix build utils)) | 1009 | (guix build utils)) |
| 1010 | #:phases | 1010 | #:phases |
| 1011 | (with-extensions (list (cargo-guile-json)) | ||
| 1012 | #~(modify-phases %standard-phases | 1011 | #~(modify-phases %standard-phases |
| 1013 | (add-before 'configure 'change-directory-to-adblock | 1012 | (add-before 'configure 'change-directory-to-adblock |
| 1014 | (lambda _ | 1013 | (lambda _ |
| @@ -1031,7 +1030,7 @@ verifiedserverdialogtest" ;SEGFAULT | |||
| 1031 | (lambda* (#:key tests? (test-exclude "") #:allow-other-keys) | 1030 | (lambda* (#:key tests? (test-exclude "") #:allow-other-keys) |
| 1032 | (setenv "HOME" "/tmp") | 1031 | (setenv "HOME" "/tmp") |
| 1033 | (when tests? | 1032 | (when tests? |
| 1034 | (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))) | 1033 | (invoke "dbus-launch" "ctest" "-E" test-exclude))))))) |
| 1035 | (native-inputs | 1034 | (native-inputs |
| 1036 | (list corrosion | 1035 | (list corrosion |
| 1037 | dbus | 1036 | 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.") | |||
| 301 | ,@%cargo-build-system-modules) | 301 | ,@%cargo-build-system-modules) |
| 302 | #:out-of-source? #f ;For the tests. | 302 | #:out-of-source? #f ;For the tests. |
| 303 | #:phases | 303 | #:phases |
| 304 | (with-extensions (list (cargo-guile-json)) | ||
| 305 | #~(modify-phases %standard-phases | 304 | #~(modify-phases %standard-phases |
| 306 | (add-after 'unpack 'prepare-cargo-build-system | 305 | (add-after 'unpack 'prepare-cargo-build-system |
| 307 | (lambda args | 306 | (lambda args |
| @@ -321,7 +320,7 @@ Random Cage Fighting Birds, Cool Music etc.") | |||
| 321 | (lambda _ | 320 | (lambda _ |
| 322 | ;; Remove this phase when we can find ncurses with cmake. | 321 | ;; Remove this phase when we can find ncurses with cmake. |
| 323 | (substitute* "tests/CMakeLists.txt" | 322 | (substitute* "tests/CMakeLists.txt" |
| 324 | (("CURSES_FOUND") "FALSE")))))))) | 323 | (("CURSES_FOUND") "FALSE"))))))) |
| 325 | (native-inputs | 324 | (native-inputs |
| 326 | (append | 325 | (append |
| 327 | (list rust `(,rust "cargo") ) | 326 | (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.") | |||
| 1364 | (guix build meson-build-system) | 1364 | (guix build meson-build-system) |
| 1365 | (guix build utils)) | 1365 | (guix build utils)) |
| 1366 | #:phases | 1366 | #:phases |
| 1367 | (with-extensions (list (cargo-guile-json)) | ||
| 1368 | #~(modify-phases %standard-phases | 1367 | #~(modify-phases %standard-phases |
| 1369 | (add-after 'unpack 'prepare-for-build | 1368 | (add-after 'unpack 'prepare-for-build |
| 1370 | (lambda _ | 1369 | (lambda _ |
| @@ -1387,7 +1386,7 @@ repositories.") | |||
| 1387 | '(unpack-rust-crates | 1386 | '(unpack-rust-crates |
| 1388 | configure | 1387 | configure |
| 1389 | check-for-pregenerated-files | 1388 | check-for-pregenerated-files |
| 1390 | patch-cargo-checksums)))))))) | 1389 | patch-cargo-checksums))))))) |
| 1391 | (native-inputs (list clang pkg-config rust `(,rust "cargo"))) | 1390 | (native-inputs (list clang pkg-config rust `(,rust "cargo"))) |
| 1392 | (inputs (cons* glib gtk libadwaita pipewire (cargo-inputs 'helvum))) | 1391 | (inputs (cons* glib gtk libadwaita pipewire (cargo-inputs 'helvum))) |
| 1393 | (home-page "https://gitlab.freedesktop.org/pipewire/helvum") | 1392 | (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}).") | |||
| 171 | ((guix build gnu-build-system) #:prefix gnu:) | 171 | ((guix build gnu-build-system) #:prefix gnu:) |
| 172 | (guix build utils)) | 172 | (guix build utils)) |
| 173 | #:phases | 173 | #:phases |
| 174 | (with-extensions (list (cargo-guile-json)) | ||
| 175 | #~(modify-phases %standard-phases | 174 | #~(modify-phases %standard-phases |
| 176 | (add-after 'unpack 'use-guix-vendored-dependencies | 175 | (add-after 'unpack 'use-guix-vendored-dependencies |
| 177 | (lambda _ | 176 | (lambda _ |
| @@ -302,7 +301,7 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).") | |||
| 302 | " set -e fish_function_path\n" | 301 | " set -e fish_function_path\n" |
| 303 | "end\n") | 302 | "end\n") |
| 304 | port) | 303 | port) |
| 305 | (close-port port)))))))) | 304 | (close-port port))))))) |
| 306 | (synopsis "The friendly interactive shell") | 305 | (synopsis "The friendly interactive shell") |
| 307 | (description | 306 | (description |
| 308 | "Fish (friendly interactive shell) is a shell focused on interactive use, | 307 | "Fish (friendly interactive shell) is a shell focused on interactive use, |
