diff --git a/gnu/services.scm b/gnu/services.scm index 7941cd3af0..832d6984d8 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -580,6 +580,10 @@ (define %modprobe-wrapper #~(begin (setenv "LINUX_MODULE_DIRECTORY" "/run/booted-system/kernel/lib/modules") + ;; FIXME: Remove this crutch when the patch #40422, + ;; updating to kmod 27 is merged. + (setenv "MODPROBE_OPTIONS" + "-C /etc/modprobe.d") (apply execl #$modprobe (cons #$modprobe (cdr (command-line))))))))