gnu: udisks: Make bash-minimal input unconditional.

* gnu/packages/freedesktop.scm (udisks): Normalize comments indentation.
[inputs]: Make bash-minimal unconditional.

Change-Id: I68994658a4a4f8e097744107177f33d81d1c7e1e
This commit is contained in:
Maxim Cournoyer 2023-10-20 00:12:53 -04:00 committed by Ludovic Courtès
parent eb4c2f63f6
commit 11a4c057c4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1733,40 +1733,37 @@ (define-public udisks
"06cq52kp1nyy15qzylywy9s7hhhqc45k0s3y68crf0zsmjyng0yj"))))
(build-system gnu-build-system)
(native-inputs
(list docbook-xml-4.3 ; to build the manpages
(list docbook-xml-4.3 ; to build the manpages
docbook-xsl
`(,glib "bin") ; for glib-mkenums
gnome-common ; TODO: Why is this needed?
`(,glib "bin") ; for glib-mkenums
gnome-common ; TODO: Why is this needed?
gobject-introspection
gtk-doc/stable
intltool
pkg-config
libxslt))
(propagated-inputs
(list glib)) ; required by udisks2.pc
(list glib)) ; required by udisks2.pc
(inputs
`(,acl
;; TODO(staging): Make unconditional.
,@(if (%current-target-system)
(list bash-minimal) ; for wrap-program
'())
,cryptsetup
,libatasmart
,libblockdev
,libgudev
,polkit
,util-linux))
(list acl
bash-minimal
cryptsetup
libatasmart
libblockdev
libgudev
polkit
util-linux))
(outputs '("out"
"doc")) ;5 MiB of gtk-doc HTML
"doc")) ;5 MiB of gtk-doc HTML
(arguments
(list
#:tests? #f ; requiring system message dbus
#:disallowed-references '("doc") ;enforce separation of "doc"
#:tests? #f ; requiring system message dbus
#:disallowed-references '("doc") ;enforce separation of "doc"
#:configure-flags
#~(list "--enable-man"
"--enable-available-modules" ; Such as lvm2, btrfs, etc.
"--localstatedir=/var"
"--enable-fhs-media" ;mount devices in /media, not /run/media
"--enable-fhs-media" ;mount devices in /media, not /run/media
(string-append "--with-html-dir=" #$output:doc
"/share/doc/udisks/html")
(string-append "--with-udevdir=" #$output "/lib/udev"))