From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: custom kernel config Date: Wed, 01 May 2019 05:31:41 -0400 Message-ID: <87pnp2msfb.fsf@netris.org> References: <20190401180434.GF21029@macbook41> <87wokb1pg1.fsf@gmail.com> <20190403190404.GB1203@macbook41> <871s2iuavs.fsf@mimimi.i-did-not-set--mail-host-address--so-tickle-me> <20190403202758.GC1203@macbook41> <87zhp6rwfz.fsf@gmail.com> <20190407143648.GA1337@macbook41> <87zhp0v9aj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLlcJ-0000m6-1s for guix-devel@gnu.org; Wed, 01 May 2019 05:33:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLlcG-0001fS-08 for guix-devel@gnu.org; Wed, 01 May 2019 05:33:31 -0400 In-Reply-To: <87zhp0v9aj.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 08 Apr 2019 16:52:36 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Hi, Ludovic Court=C3=A8s writes: > Efraim Flashner skribis: > >> title: Creating and using a custom Linux kernel on Guix System >> date: 2019-04-04 00:00 >> author: Efraim Flashner >> tags: kernel, customization > > Really nice! > >> (define-public linux-libre-E2140 >> (let ((base >> ((@@ (gnu packages linux) make-linux-libre) >> (@@ (gnu packages linux) %linux-libre-version) >> (@@ (gnu packages linux) %linux-libre-hash) >> '("x86_64-linux") >> #:extra-version "E2140" >> #:patches (@@ (gnu packages linux) %linux-libre-5.0-patches))= )) > > Could we make all =E2=80=98make-linux-libre=E2=80=99 public to avoid the = @@ there? > Otherwise it=E2=80=99s a bit scary, and not something we could recommend = since > we=E2=80=99re accessing private variables. I'm sorry that I didn't see this message sooner, but FWIW: I would prefer not to export 'make-linux-libre', because I have found it to be a poorly designed interface in need of replacement, and it would be good to avoid having to maintain it going forward. Mark