guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: eg25-manager: Patch reference to grep.


From: guix-commits
Subject: 02/02: gnu: eg25-manager: Patch reference to grep.
Date: Thu, 15 Jun 2023 08:04:07 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f6047c5b716e5d8f3d8a749f389954e4e4c36c16
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jun 15 13:51:17 2023 +0300

    gnu: eg25-manager: Patch reference to grep.
    
    * gnu/packages/firmware.scm (eg25-manager)[arguments]: Add a phase to
    patch the path to grep.
---
 gnu/packages/firmware.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 7b80024b42..c7ca81c35a 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -347,9 +347,17 @@ by the b43-open driver of Linux-libre.")
                (base32
                 "1a591dhr43mhwh09n2vlfpw6aajl6d1vkwniikjvwfjrmp01v6yq"))))
     (build-system meson-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (add-after 'unpack 'patch-path
+             (lambda* (#:key inputs #:allow-other-keys)
+               (substitute* "udev/80-modem-eg25.rules"
+                 (("/bin/grep") (search-input-file inputs "/bin/grep"))))))))
     (native-inputs (list curl
                          `(,glib "bin") pkg-config))
-    (inputs (list libgpiod libgudev libusb))
+    (inputs (list grep libgpiod libgudev libusb))
     (synopsis "Manager daemon for the Quectel EG25 mobile broadband modem")
     (description
      "This package provides a manager daemon for the Quectel EG25 mobile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]