gnu: network-manager: Patch modprobe file name.
Partially fixes <https://issues.guix.gnu.org/62409>. * gnu/packages/gnome.scm (network-manager) [arguments]: Add patch-modprobe-path phase. [inputs]: Add kmod.master
parent
87d3f71bb5
commit
e682932636
|
@ -8544,6 +8544,14 @@ users.")
|
||||||
"/sbin/dhclient")))
|
"/sbin/dhclient")))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-modprobe-path
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "src/libnm-platform/nm-platform-utils.c"
|
||||||
|
;; The modprobe command location is not configurable (see:
|
||||||
|
;; https://gitlab.freedesktop.org/NetworkManager/
|
||||||
|
;; NetworkManager/-/issues/1257).
|
||||||
|
(("/sbin/modprobe")
|
||||||
|
(search-input-file inputs "bin/modprobe")))))
|
||||||
(add-after 'unpack 'patch-dlopen-call-to-libjansson.so
|
(add-after 'unpack 'patch-dlopen-call-to-libjansson.so
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/libnm-glib-aux/nm-json-aux.c"
|
(substitute* "src/libnm-glib-aux/nm-json-aux.c"
|
||||||
|
@ -8623,6 +8631,7 @@ users.")
|
||||||
isc-dhcp
|
isc-dhcp
|
||||||
iwd ;wpa_supplicant alternative
|
iwd ;wpa_supplicant alternative
|
||||||
jansson
|
jansson
|
||||||
|
kmod
|
||||||
libgcrypt
|
libgcrypt
|
||||||
libgudev
|
libgudev
|
||||||
libndp
|
libndp
|
||||||
|
|
Reference in New Issue