gnu: emacs-xwidgets: Use new package style.
* gnu/packages/emacs.scm (emacs-xwidgets)[arguments]: Convert to list of G-Expressions. [inputs]: Use modify-inputs.
This commit is contained in:
parent
9a520eb203
commit
a56a3fa761
1 changed files with 7 additions and 8 deletions
|
@ -386,16 +386,15 @@ (define-public emacs-xwidgets
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments emacs)
|
||||
((#:configure-flags flags ''())
|
||||
`(cons "--with-xwidgets" ,flags))
|
||||
((#:configure-flags flags #~'())
|
||||
#~(cons "--with-xwidgets" #$flags))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(delete 'restore-emacs-pdmp)
|
||||
(delete 'strip-double-wrap)))))
|
||||
#~(modify-phases #$phases
|
||||
(delete 'restore-emacs-pdmp)
|
||||
(delete 'strip-double-wrap)))))
|
||||
(inputs
|
||||
`(("webkitgtk" ,webkitgtk-with-libsoup2)
|
||||
("libxcomposite" ,libxcomposite)
|
||||
,@(package-inputs emacs)))))
|
||||
(modify-inputs (package-inputs emacs)
|
||||
(prepend webkitgtk-with-libsoup2 libxcomposite)))))
|
||||
|
||||
(define-public emacs-no-x
|
||||
(package/inherit emacs
|
||||
|
|
Loading…
Reference in a new issue