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 IJppHUD8jmEtZQEAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 00:44:00 +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 +P8CGUD8jmEiCgAAB5/wlQ (envelope-from ) for ; Fri, 12 Nov 2021 23:44:00 +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 D644A1805F for ; Sat, 13 Nov 2021 00:43:59 +0100 (CET) Received: from localhost ([::1]:48952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlgD8-000896-Jn for larch@yhetil.org; Fri, 12 Nov 2021 18:43:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlgCu-00088w-QQ for help-guix@gnu.org; Fri, 12 Nov 2021 18:43:45 -0500 Received: from [2a02:c205:2020:6054::1] (port=52808 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlgCs-000376-0D for help-guix@gnu.org; Fri, 12 Nov 2021 18:43:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=jC4B/0E8zIFT9 PPd0xjJMIrf5tw2e4mJnl+BOHHOuEs=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=J7m0BsvPwaBTRso1C2tM12SeD5zjfATyoEaxPj F+rLOcijKdPTGLNbN00N73wC4JdzXMTKAPGER1Dmh6i2oUYGRyniBS/Bkrj44FKInMvW4k +uB1/Idmhwggb/zsm16nrIeGXatD+nvmZkZlrA4Oie6pDrYm831W5f7otq5IBgQGR0NZbD HbVGLzMe2HKJ02R+i6OIGEo9BHIcEoQxtxrOeq/4q3zzjZZaxr/AE0OJ0rcdIQAy1IgBOa XHoD+Y3PWLY211w3lEXgPYtx2U3zMP4WZP3KPgTlIzNisoeUQm6sPHYZK/qyCBDVN6Nltf YomX9JfOUaEixDjZICg/SICw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7500a357 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 12 Nov 2021 23:43:36 +0000 (UTC) References: <2cc0eaa33fd6bd50b5ecc0dab0ef2491@tobias.gr> From: Tobias Geerinckx-Rice To: phodina Cc: help-guix Subject: Re: Custom libre kernel configuration Date: Sat, 13 Nov 2021 00:38:38 +0100 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <877dddhrcp.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636760640; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jC4B/0E8zIFT9PPd0xjJMIrf5tw2e4mJnl+BOHHOuEs=; b=juQNyHnVIAfMcAeiESWZpiItHSEjpB376YDSyCX/Ou/DAma6h+4ZJKHKBffT0n8u8G6Gb2 I2aUErW4BV+krplerZG7jfZ72ROeR2vjmGc3zl4U01c5kIhfdYNEkP8Anb3IPyvd1hfhzc yc1KKC0KqIwx4SQ4Yzz5xVp1ue2k5L3ATLqn8MZuGLni6xUFr/dNf7sNOQVZXXp7O4aruX fgU73t4ZdJI5cAN5eAMvPLetG8feak9TzwNeftooYoOlpDMJzCdQhfE35bp3NblnEVCINY QZnirUVvhGdoRCBAUDS8akVZV7MA26X+OpB8Ia8mbd7pS42rLwXNFAG9BMc3Hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636760640; a=rsa-sha256; cv=none; b=LqwCQQsh5+uIMBkyTvy1p+2tyYskckJzLW4W684N1HNXJweQc8cF+OmjwfAIX1zd1K295/ L6kDh4jYNgxLeBLoDwp6j+e+CYh9J0sScbdQeApX+5xQ9d8ElBh8jfSz1fMigze0IQD68T GrGU62mh2SLKvgh25Mp9QDLbggHiFfXvFGFLESTbsNmcISDkzFHH07jNQL1KXkg2hDDtv7 ag2AKZvl4gdhXumOth7tubwgyuQ4o7mOtiSd4j7YW/JPWYNdJY/zlOnbGRclNPd48vsplQ pu6mmXaFypwc83wbopD/n8G1ReL1aZi19wT0yKAwBOFt6Z5HDolUPDAq/+US0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=J7m0BsvP; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=J7m0BsvP; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D644A1805F X-Spam-Score: -5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: T1hYD4i9CrF3 --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Petr, phodina =E5=86=99=E9=81=93=EF=BC=9A > Here's the modification: > > (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 . number) > (string-append option "=3D" number)) > options) > "\n")) At this point, (option . number) will match anything. You're not matching numbers here: =E2=80=98number=E2=80=99 is your chosen v= ariable=20 name, not magic. It could be =E2=80=98foo=E2=80=99. It could be anything,= =20 without changing the effect of this code. > ((option . string) > (string-append option "=3D\"" string=20 > "\""))) This will never be reached. I'm almost certain that this is, at least in part, why your BINDER=20 configuration isn't taking effect. Here's mine: (define option->string (match-lambda ((option . #f) (format #f "# ~a is not set" option)) ((option . #t) (format #f "~a=3Dy" option)) ((option . 'm) (format #f "~a=3Dm" option)) ((option . (? number? value)) (format #f "~a=3D~a" option value)) ((option . (? string? value)) (format #f "~a=3D\"~a\"" option value)))) Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYY78Rg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15Ys0A/jm3DW7t8nESN3XoRkep+rLJIJ3EOneGTDs3hWGu bpt+AQD63SMD6zCQFWuAYHywOWGFjp0Zm0CEL4Dp6w1VwUnrDw== =BKGc -----END PGP SIGNATURE----- --=-=-=--