mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-26 04:06:49 +01:00
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 @@ (define-public icedove/wayland
|
|||
(package
|
||||
(inherit icedove)
|
||||
(name "icedove-wayland")
|
||||
(native-inputs '())
|
||||
(inputs
|
||||
`(("bash" ,bash-minimal)
|
||||
("icedove" ,icedove)))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
'(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(list
|
||||
#:modules '((guix build utils))
|
||||
#:builder
|
||||
#~(begin
|
||||
(use-modules (guix build utils))
|
||||
(let* ((bash (assoc-ref %build-inputs "bash"))
|
||||
(icedove (assoc-ref %build-inputs "icedove"))
|
||||
(out (assoc-ref %outputs "out"))
|
||||
(exe (string-append out "/bin/icedove")))
|
||||
(let* ((exe (string-append #$output "/bin/icedove")))
|
||||
(mkdir-p (dirname exe))
|
||||
|
||||
(call-with-output-file exe
|
||||
(lambda (port)
|
||||
(format port "#!~a
|
||||
MOZ_ENABLE_WAYLAND=1 exec ~a $@"
|
||||
(string-append bash "/bin/bash")
|
||||
(string-append icedove "/bin/icedove"))))
|
||||
#$(file-append bash-minimal "/bin/bash")
|
||||
#$(file-append icedove "/bin/icedove"))))
|
||||
(chmod exe #o555)
|
||||
|
||||
;; Provide the manual and .desktop file.
|
||||
(copy-recursively (string-append icedove "/share")
|
||||
(string-append out "/share"))
|
||||
(substitute* (string-append
|
||||
out "/share/applications/icedove.desktop")
|
||||
((icedove) out))
|
||||
#t))))))
|
||||
(copy-recursively (string-append #$icedove "/share")
|
||||
(string-append #$output "/share"))
|
||||
(substitute* (string-append #$output
|
||||
"/share/applications/icedove.desktop")
|
||||
((#$icedove) #$output))))))
|
||||
(native-inputs '())
|
||||
(inputs '())))
|
||||
|
||||
(define-public firefox-decrypt
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue