gnu: icedove-wayland: Use gexps.
* gnu/packages/gnuzilla.scm (icedove/wayland) [inputs]: Set to the empty list. [arguments]: Use gexps.
This commit is contained in:
parent
f223f773a4
commit
51d2b76529
1 changed files with 14 additions and 21 deletions
|
@ -1420,37 +1420,30 @@ Thunderbird. It supports email, news feeds, chat, calendar and contacts.")
|
||||||
(package
|
(package
|
||||||
(inherit icedove)
|
(inherit icedove)
|
||||||
(name "icedove-wayland")
|
(name "icedove-wayland")
|
||||||
(native-inputs '())
|
|
||||||
(inputs
|
|
||||||
`(("bash" ,bash-minimal)
|
|
||||||
("icedove" ,icedove)))
|
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:modules ((guix build utils))
|
(list
|
||||||
|
#:modules '((guix build utils))
|
||||||
#:builder
|
#:builder
|
||||||
(begin
|
#~(begin
|
||||||
(use-modules (guix build utils))
|
(use-modules (guix build utils))
|
||||||
(let* ((bash (assoc-ref %build-inputs "bash"))
|
(let* ((exe (string-append #$output "/bin/icedove")))
|
||||||
(icedove (assoc-ref %build-inputs "icedove"))
|
|
||||||
(out (assoc-ref %outputs "out"))
|
|
||||||
(exe (string-append out "/bin/icedove")))
|
|
||||||
(mkdir-p (dirname exe))
|
(mkdir-p (dirname exe))
|
||||||
|
|
||||||
(call-with-output-file exe
|
(call-with-output-file exe
|
||||||
(lambda (port)
|
(lambda (port)
|
||||||
(format port "#!~a
|
(format port "#!~a
|
||||||
MOZ_ENABLE_WAYLAND=1 exec ~a $@"
|
MOZ_ENABLE_WAYLAND=1 exec ~a $@"
|
||||||
(string-append bash "/bin/bash")
|
#$(file-append bash-minimal "/bin/bash")
|
||||||
(string-append icedove "/bin/icedove"))))
|
#$(file-append icedove "/bin/icedove"))))
|
||||||
(chmod exe #o555)
|
(chmod exe #o555)
|
||||||
|
|
||||||
;; Provide the manual and .desktop file.
|
;; Provide the manual and .desktop file.
|
||||||
(copy-recursively (string-append icedove "/share")
|
(copy-recursively (string-append #$icedove "/share")
|
||||||
(string-append out "/share"))
|
(string-append #$output "/share"))
|
||||||
(substitute* (string-append
|
(substitute* (string-append #$output
|
||||||
out "/share/applications/icedove.desktop")
|
"/share/applications/icedove.desktop")
|
||||||
((icedove) out))
|
((#$icedove) #$output))))))
|
||||||
#t))))))
|
(native-inputs '())
|
||||||
|
(inputs '())))
|
||||||
|
|
||||||
(define-public firefox-decrypt
|
(define-public firefox-decrypt
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue