From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WPwwEaMnjWEHtAAAgWs5BA (envelope-from ) for ; Thu, 11 Nov 2021 15:24:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qPnsDKMnjWGGXQAAB5/wlQ (envelope-from ) for ; Thu, 11 Nov 2021 14:24:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AE94F18308 for ; Thu, 11 Nov 2021 15:24:34 +0100 (CET) Received: from localhost ([::1]:36156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlB0C-0007Uc-Hw for larch@yhetil.org; Thu, 11 Nov 2021 09:24:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlApx-0006vx-Mh for help-guix@gnu.org; Thu, 11 Nov 2021 09:13:58 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:24849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlApu-0006Gm-HN for help-guix@gnu.org; Thu, 11 Nov 2021 09:13:57 -0500 Date: Thu, 11 Nov 2021 14:13:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636640028; bh=hImX1kiRBW8Svjc9i7BvvrMa1OldTBQYUdORwwzibR8=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=cRRB32bgJGqMvl1b2vsDIru7nu+DNbuVGVzZqrZVDQh9Otba4RWwek8iu6mvkc7m1 bAoMccSs+qQZKnBRbMEDcwZiLy00McEwEn+emNUd4n041DvwkoOp2F0HR7MgyayqGt nnzx1fJLREshbUhx+qqczn0hyMl9oCJzytY+z0OM= To: Tobias Geerinckx-Rice From: phodina Cc: help-guix Subject: Re: Custom libre kernel configuration Message-ID: In-Reply-To: <2cc0eaa33fd6bd50b5ecc0dab0ef2491@tobias.gr> References: <2cc0eaa33fd6bd50b5ecc0dab0ef2491@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=phodina@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636640675; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hImX1kiRBW8Svjc9i7BvvrMa1OldTBQYUdORwwzibR8=; b=fEb7dXQkXQaNhqDCbf+pmD1xYJvwqELROoVJA1Suv6ix4Mq2BsM7dDVMoLR+vCkZjsbwXK 4QDS4pIkZI55PrpFwsVin6r2G8LcoNS9s//Us2a/jJlcSFu6+2C2bUY7VG9exXE2VVpY6U WzhU/qkZ5+wisCDGtBV5H1JpAmj6fe6S4tKcJVy0jk+sYlNo1CPZITsuZ0+/bNyRYiNfnz H6cNm8pPQgdsu/qkxvw2ksoOwarsl2VxjVlCeDuxfpYNEvh3//AG8pnqC4xbAuWRS78X50 bGr0CFwrCRgdJkHC3dsEkuZ6Nrybg7lN72jaRn6WcxsYVoWYg98ico6rB3iBdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636640675; a=rsa-sha256; cv=none; b=Oz3hDFksDSysqpyM53VI9Waru2yDCMkGmcL0oMQeTSNOFSYSu4mewxQU1ml4VGA9V2/qPq Hgj5ozyuPyHDUJKRBENDQiCKzfotZTiVdUP2CbFFedxCrTKI5WKdd3LLra9IVlemVIHwo7 ql0099mgmLG5OaTmOUYIZU1rDyk8tyO5/w2GxarQi+nICqvETF8g+HbwVqN2Eeo2BpKBFd woYaDeQpuWNWXRoVcz+vF3zHUfqgD7T4ZGS6PkCptwAzfQl21KDQ3nF4CxdLKeubUZQSug lj13rU8Wx+x2c/6CbSFSLIxcujTNozWQX15WNM2b3G+omxf5VOJy84OWycTuHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=cRRB32bg; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=cRRB32bg; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: AE94F18308 X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q6VyFbuLPlaN Hi Tobias, On Thursday, November 11th, 2021 at 2:23 PM, Tobias Geerinckx-Rice wrote: > On 2021-11-11 13:31, phodina wrote: > > > Throw to key `match-error' with args` ("match" "no matching pattern" > > > > ("CONFIG_ANDROID" . y))'. > > I guess you meant to write #t here. With that change the rest looks > > correct, goodl uck! > > Kind regards, > > T G-R > Thanks! Somehow it was staring at my face :-D Though there is also one more issue. The match lambda does not accept strin= gs. I'm added one more "case", though I'm not sure if it won't have any con= sequences. (define (config->string options) (string-join (map (match-lambda ((option . 'm) (string-append option "=3Dm")) ((option . #t) (string-append option "=3Dy")) ((option . #f) (string-append option "=3Dn")) ((option . value) (string-append option "=3D" value))) options) "\n"))