From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Loading modules built using linux-module-build-system Date: Sun, 17 Nov 2019 21:35:32 +0100 Message-ID: <87bltakzqj.fsf@gnu.org> References: <877e8snntp.fsf@jlicht.xyz> <20191021202733.3c340770@scratchpost.org> <20191021204857.5dff6e9b@scratchpost.org> <20191021233925.0ba18a4c@scratchpost.org> <87k18x3r3g.fsf@gnu.org> <20191114173143.6924e46e@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33188) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWRGh-0006C5-KC for guix-devel@gnu.org; Sun, 17 Nov 2019 15:35:36 -0500 In-Reply-To: <20191114173143.6924e46e@scratchpost.org> (Danny Milosavljevic's message of "Thu, 14 Nov 2019 17:31:43 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org Hello, Danny Milosavljevic skribis: >> Thinking more about it, what about handling the union/profile thing in >> =E2=80=98operating-system-directory-base-entries=E2=80=99? We could sti= ll use >> =E2=80=98profile-derivation=E2=80=99 with the hook you wrote, but we=E2= =80=99d be able to keep >> that here instead of adding it to (guix profiles). > > Should we just change out the "kernel" entry to be the union? After all, > that's what actually happens at runtime as far as the Linux kernel is > concerned. Yes, that sounds good. >> Also, if we take that route, we would probably need a >> =E2=80=98linux-module-packages=E2=80=99 field in . > > Or make the `kernel` field a list, including linux-libre ;-) Rather than a list, we could have a =E2=80=98make-linux-libre-union=E2=80= =99 procedure returning a , so that we preserve consistent typing. That is, people could write: (kernel linux-libre) or: (kernel (make-linux-libre-union linux-libre some-package)) WDYT? Thanks, Ludo=E2=80=99.