~ruther/guix-local

de9aafae173b9ee2ea7c41e65bd8a98b50698ae6 — Aleksandr Vityazev 2 years ago 5960c3c
gnu: icedove/wayland: Wrap quotes around ‘$@’ in the executable.

Fixes <https://issues.guix.gnu.org/66643>.

* gnu/packages/gnuzilla (icedove/wayland)[arguments]: Wrap quotes around ‘$@’
in the executable script.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/gnuzilla.scm
M gnu/packages/gnuzilla.scm => gnu/packages/gnuzilla.scm +2 -1
@@ 20,6 20,7 @@
;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Baptiste Strazzul <bstrazzull@hotmail.fr>
;;; Copyright © 2022 SeerLite <seerlite@disroot.org>
;;; Copyright © 2024 Aleksandr Vityazev <avityazew@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 2091,7 2092,7 @@ associated with their name."))
            (call-with-output-file exe
              (lambda (port)
                (format port "#!~a
 MOZ_ENABLE_WAYLAND=1 exec ~a $@"
 MOZ_ENABLE_WAYLAND=1 exec ~a \"$@\""
                        #$(file-append bash-minimal "/bin/bash")
                        #$(file-append icedove "/bin/icedove"))))
            (chmod exe #o555)