all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#62360] [PATCH] gnu: sbcl-trivial-open-browser: Patch xdg-open.
@ 2023-03-21 23:12 jgart via Guix-patches via
  2023-03-22 13:41 ` bug#62360: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2023-03-21 23:12 UTC (permalink / raw)
  To: 62360; +Cc: jgart

* gnu/packages/lisp-xyz.scm (sbcl-trivial-open-browser): Patch it.
[inputs]: Add xdg-utils.
[arguments]: Patch xdg-open.
---
 gnu/packages/lisp-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 15e929086e..955cf0fcfc 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -80,6 +80,7 @@ (define-module (gnu packages lisp-xyz)
   #:use-module (gnu packages file)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages game-development)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
@@ -22568,6 +22569,16 @@ (define-public sbcl-trivial-open-browser
          (sha256
           (base32 "0ixay1piq420i6adx642qhw45l6ik7rvgk52lyz27dvx5f8yqsdb"))))
       (build-system asdf-build-system/sbcl)
+      (inputs (list xdg-utils))
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'fix-paths
+              (lambda* (#:key inputs #:allow-other-keys)
+                (substitute* "src/trivial-open-browser.lisp"
+                  (("xdg-open")
+                   (search-input-file inputs "/bin/xdg-open"))))))))
       (home-page "https://github.com/eudoxia0/trivial-open-browser")
       (synopsis "Open a browser window from Common Lisp")
       (description
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#62360: [PATCH] gnu: sbcl-trivial-open-browser: Patch xdg-open.
  2023-03-21 23:12 [bug#62360] [PATCH] gnu: sbcl-trivial-open-browser: Patch xdg-open jgart via Guix-patches via
@ 2023-03-22 13:41 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2023-03-22 13:41 UTC (permalink / raw)
  To: jgart; +Cc: 62360-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as 7f1f78c9463680d5e364815e7d6db0031e6cb566.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-22 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-21 23:12 [bug#62360] [PATCH] gnu: sbcl-trivial-open-browser: Patch xdg-open jgart via Guix-patches via
2023-03-22 13:41 ` bug#62360: " Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.