gnu: eg25-manager: Patch reference to grep.

* gnu/packages/firmware.scm (eg25-manager)[arguments]: Add a phase to
patch the path to grep.
This commit is contained in:
Efraim Flashner 2023-06-15 13:51:17 +03:00
parent 5d6026ff38
commit f6047c5b71
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -347,9 +347,17 @@ (define-public eg25-manager
(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