gnu: polkit: Remove input labels.

* gnu/packages/polkit.scm (polkit-mozjs)[native-inputs]: Remove labels.
(polkit-duktape)[native-inputs, inputs]: Use 'modify-inputs'.
This commit is contained in:
Ludovic Courtès 2022-05-09 15:19:45 +02:00
parent 69095cde82
commit c9fcfef3d4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -93,12 +93,12 @@ (define-public polkit-mozjs
(propagated-inputs (propagated-inputs
(list glib)) ; required by polkit-gobject-1.pc (list glib)) ; required by polkit-gobject-1.pc
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config
("glib:bin" ,glib "bin") ; for glib-mkenums `(,glib "bin") ;for glib-mkenums
("intltool" ,intltool) intltool
("gobject-introspection" ,gobject-introspection) gobject-introspection
("libxslt" ,libxslt) ; for man page generation libxslt ;for man page generation
("docbook-xsl" ,docbook-xsl))) ; for man page generation docbook-xsl)) ;for man page generation
(arguments (arguments
`(#:configure-flags '("--sysconfdir=/etc" `(#:configure-flags '("--sysconfdir=/etc"
"--enable-man-pages" "--enable-man-pages"
@ -170,13 +170,11 @@ (define-public polkit-duktape
(lambda _ (lambda _
(delete-file "configure"))))))) (delete-file "configure")))))))
(native-inputs (native-inputs
(append `(("autoconf" ,autoconf) (modify-inputs (package-native-inputs base)
("automake" ,automake) (prepend autoconf automake libtool)))
("libtool" ,libtool) (inputs
("pkg-config" ,pkg-config)) (modify-inputs (package-inputs base)
(package-native-inputs base))) (replace "mozjs" duktape))))))
(inputs (alist-replace "mozjs" `(,duktape)
(package-inputs base))))))
(define polkit-for-system (define polkit-for-system
(mlambda (system) (mlambda (system)