From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54577) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jE8PH-0005Kf-FK for guix-patches@gnu.org; Tue, 17 Mar 2020 05:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jE8PG-0006vJ-Gv for guix-patches@gnu.org; Tue, 17 Mar 2020 05:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jE8PG-0006u7-DE for guix-patches@gnu.org; Tue, 17 Mar 2020 05:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jE8PG-0006Ox-8o for guix-patches@gnu.org; Tue, 17 Mar 2020 05:21:02 -0400 Subject: [bug#37868] [PATCH v6] system: Add kernel-module-packages to operating-system. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200226195929.3615-1-dannym@scratchpost.org> <20200227122519.3226-1-dannym@scratchpost.org> <877dzlibaj.fsf@gnu.org> <20200316213112.39b97c4e@scratchpost.org> Date: Tue, 17 Mar 2020 10:20:43 +0100 In-Reply-To: <20200316213112.39b97c4e@scratchpost.org> (Danny Milosavljevic's message of "Mon, 16 Mar 2020 21:31:12 +0100") Message-ID: <871rpre3ro.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: Mark H Weaver , 37868@debbugs.gnu.org Hi Danny, Danny Milosavljevic skribis: > On Sun, 15 Mar 2020 22:00:04 +0100 > Ludovic Court=C3=A8s wrote: > >> > + (invoke (string-append kmod "/bin/depmod")=20=20 >>=20 >> 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=E2=80=99d suggest doing the same here. > > Hmm, does that mean I should also change PATH in the profile hook? Yes, I think that=E2=80=99s the only change you have to do: (setenv "PATH" #+(file-append kmod "/bin")) in the profile hook. HTH, Ludo=E2=80=99.