From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [BLOG] custom kernel config Date: Thu, 16 May 2019 20:15:16 -0400 Message-ID: <87d0kiaqc0.fsf@netris.org> References: <20190401180434.GF21029@macbook41> <20190515180945.GA7636@macbook41> <87h89uo4kb.fsf@devup.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRQYf-0006JE-D2 for guix-devel@gnu.org; Thu, 16 May 2019 20:17:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRQYe-0001NW-HB for guix-devel@gnu.org; Thu, 16 May 2019 20:17:09 -0400 Received: from world.peace.net ([64.112.178.59]:48938) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRQYe-0001Me-E1 for guix-devel@gnu.org; Thu, 16 May 2019 20:17:08 -0400 In-Reply-To: <87h89uo4kb.fsf@devup.no> (Marius Bakke's message of "Thu, 16 May 2019 16:29:56 +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: Marius Bakke Cc: guix-devel@gnu.org Hi Marius, Marius Bakke writes: > I just want to point out an (IMO) easier way to provide a custom kernel > configuration, that does not involve the "make-linux-libre" procedure: > > (define-public linux-libre/custom > (package > (inherit linux-libre) > (native-inputs > `(("kconfig" ,(local-file "kernel.config")) > ,@(alist-delete "kconfig" > (package-native-inputs linux-libre)))))) > > At the end of the day, Linux-Libre is just a regular package that can be > inherited and overridden like any other :-) I think this is the approach we should promote for now. I would prefer to leave 'make-linux-libre' as an internal implementation detail, and hopefully one with a limited life span. Thanks, Mark