1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

gnu: udisks: Remove obsolete wrap-udisksd phase.

The tools are now patched in the libblockdev plugin sources directly.

* gnu/packages/freedesktop.scm (udisks) [phases]: Delete the wrap-udisksd
phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Maxim Cournoyer 2024-10-07 22:12:33 +02:00 committed by Ludovic Courtès
parent f8573c326a
commit 96317d13ae
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1804,21 +1804,7 @@ Analysis and Reporting Technology) functionality.")
(("girdir = .*")
"girdir = $(datadir)/gir-1.0\n")
(("typelibsdir = .*")
"typelibsdir = $(libdir)/girepository-1.0\n"))))
(add-after 'install 'wrap-udisksd
(lambda _
;; Tell 'udisksd' where to find the 'mount' command.
(let ((utils #$(this-package-input "util-linux"))
(cryptsetup #$(this-package-input "cryptsetup"))
(parted #$(this-package-input "parted")))
(wrap-program (string-append #$output "/libexec/udisks2/udisksd")
`("PATH" ":" prefix
(,(string-append utils "/bin") ;for 'mount'
;; cryptsetup is required for setting encrypted
;; partitions, e.g. in gnome-disks
,(string-append cryptsetup "/sbin")
"/run/current-system/profile/bin"
"/run/current-system/profile/sbin")))))))))
"typelibsdir = $(libdir)/girepository-1.0\n")))))))
(home-page "https://www.freedesktop.org/wiki/Software/udisks/")
(synopsis "Disk manager service")
(description