[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37868] [PATCH v6] system: Add kernel-module-packages to operating-s
[bug#37868] [PATCH v6] system: Add kernel-module-packages to operating-system.
Tue, 17 Mar 2020 10:20:43 +0100
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Danny Milosavljevic <address@hidden> skribis:
> On Sun, 15 Mar 2020 22:00:04 +0100
> Ludovic Courtès <address@hidden> wrote:
>> > + (invoke (string-append kmod "/bin/depmod")
>> Generally, for this kind of utility function, we assume that the tool is
>> in $PATH, which allows us to avoid carrying its file name throughout the
>> API. I’d suggest doing the same here.
> Hmm, does that mean I should also change PATH in the profile hook?
Yes, I think that’s the only change you have to do:
(setenv "PATH" #+(file-append kmod "/bin"))
in the profile hook.