From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gAF3G0We4WIzMAAAbAwnHQ (envelope-from ) for ; Wed, 27 Jul 2022 22:21:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aGxRG0We4WKmUwAAauVa8A (envelope-from ) for ; Wed, 27 Jul 2022 22:21:25 +0200 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 4B35E3D9B2 for ; Wed, 27 Jul 2022 22:21:23 +0200 (CEST) Received: from localhost ([::1]:48370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGnX0-0001qL-Sw for larch@yhetil.org; Wed, 27 Jul 2022 16:21:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGnWj-0001ou-78 for bug-guix@gnu.org; Wed, 27 Jul 2022 16:21:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGnWg-0007lp-39 for bug-guix@gnu.org; Wed, 27 Jul 2022 16:21:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGnWf-0008KR-Rw for bug-guix@gnu.org; Wed, 27 Jul 2022 16:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56799: [PATCH v2] gexp: Handle *unspecified* as a gexp input. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 27 Jul 2022 20:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56799 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 56799@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 56799-submit@debbugs.gnu.org id=B56799.165895322831930 (code B ref 56799); Wed, 27 Jul 2022 20:21:01 +0000 Received: (at 56799) by debbugs.gnu.org; 27 Jul 2022 20:20:28 +0000 Received: from localhost ([127.0.0.1]:57097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGnW8-0008Iw-9w for submit@debbugs.gnu.org; Wed, 27 Jul 2022 16:20:28 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:38885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGnW5-0008Ib-Mj for 56799@debbugs.gnu.org; Wed, 27 Jul 2022 16:20:27 -0400 Received: by mail-qt1-f171.google.com with SMTP id y9so13460436qtv.5 for <56799@debbugs.gnu.org>; Wed, 27 Jul 2022 13:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vhm1lpfnggZOkY+Gb+fg7CUXwukzH3pInabeyFb4t2c=; b=VNsiNvpFOB1kRo0Ut1i18vS7hCH7FwgumkG1rwfy+c0HdhlaJaxOUjN0ZJJjhw/92x 9p3O7ZCTJ8B/GUfi+Rb2NR7lvZL5e/Qfzz/EeIZxrKUP5g/2LNbvFezaJH0bRjqQfDDb RTNZY5iT783hv321iqdBNNTry6Bsdch7dmpt4N8KgDAjEFICb0ALvQpzsVaq33q+5JZL XIx/fqCiXQ1MLieiMEMJZPx8rSq5pXW3fDfxOxLJpszRp2fPKYqBei0W1Ei6Oixq6OrJ ud1TRMYl1lzrqK4qOKXB5T77BnvOr1B4/FHm1E6N7+DZgwH9xUoI5krMHTbRMjm65Err oEWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vhm1lpfnggZOkY+Gb+fg7CUXwukzH3pInabeyFb4t2c=; b=zL43YNSCAP8zJzWrlNVz9iSvqVCZvMpKr+JIMezg/dwyIvgGbw+LP3/s07qsynCz5+ WOghfvB/Adp0FqRbkuNR629Lh5nzChQv9fiGuGSOTp1ECqGp6Jzrdzs9SpFKkvFg/Ehv 81CCn/sU0Ho+n3ypX+QXt81b2llhOApFXDprOM2Y63Jh9H6pMOuKF0yqQ9yU1o4QbI3B th/4nqZmivBHdw7WzPlGgyhn3bwPrfSy55iX6ihlehgzcMIyJjlnjF4Kl3LiSpZP0wMN 7j631jQJJc1HGCAw7pGSiYZtxbMbLpi5/NHq9/8H3pfvFNqEn2y+5wtNQ3HaJqq3hjM9 hYlQ== X-Gm-Message-State: AJIora8KNRSiYVYKbq7a12MZ/7R7Rc51QieAe1JOJ4tIM/eghGluNEnm HUj2WFO0dZY3oo0Sn3AsqjNhPXnylF4= X-Google-Smtp-Source: AGRyM1uYuUX5S2EDNQIjkw0/71x+wtk7iGz+y2O0RniY9PuDW3llDYWO6YUf/0xOIdqXWYZuhsDfLA== X-Received: by 2002:ac8:7f92:0:b0:31f:3364:897e with SMTP id z18-20020ac87f92000000b0031f3364897emr16561644qtj.413.1658953219883; Wed, 27 Jul 2022 13:20:19 -0700 (PDT) Received: from localhost.localdomain (dsl-10-148-58.b2b2c.ca. [72.10.148.58]) by smtp.gmail.com with ESMTPSA id g11-20020a05620a40cb00b006af08c26774sm14716063qko.47.2022.07.27.13.20.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 13:20:19 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 27 Jul 2022 16:20:10 -0400 Message-Id: <20220727202010.16970-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <877d3y8hjj.fsf@gmail.com> References: <877d3y8hjj.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658953284; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vhm1lpfnggZOkY+Gb+fg7CUXwukzH3pInabeyFb4t2c=; b=hE7nuWMBDjQOtGLgoIxpaGNkHGkfaRzswWmGVrdPDPah0Bnw+ereycpIYyhtMCf6qKBpjg u3eVa9j+oAVyH/gnekXqhxEPqUCMMyJEpxJJdTxSXyVI3/tLsxX5p/LiiAzDQJ4I5QI4a/ WVXa3/Sl6comI4Ms8s7FDuJec4H+tTEWTVhm/8FAIfwP93IIy+5lSxy/1mTxJ3M9oQw/gz GEYZNEZlqC5XneG1AOgtlbvpdbQcSQ0WLlPs7qxkOzu/z4kDlvvR8J9DaNHwIaOSd/bzum 6+gTIrEDTmekbOfnrgadEC2e14nvz+GfQA6NyKua4jbRDx3t1CmkiqQdqQUVRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658953284; a=rsa-sha256; cv=none; b=FcfipWy4CKPRuyupRriRPHLjx1WHhBrMnSN2Sf1iRuxZMnAb/nKchagmAGkBDJAStM0+s0 5quNbioCFJN5DhCKLO/j16/gjBdnPF9xKcpmdsc+qUhaeJTxXxsh8I1kC/kT48+rzNhIZG tQA3j/ztUB9a8+BBzioF7gz0wPX4EkmnfCJMZiFMOw37Cywt6sGPXwGha8L1YMXVZOdEAN EM+hJbzKX7SJZ+uh9doEZqxr519AxoCFMFEVU4tAooRElt/DIaH7BifliobLWvidnU5D0A gjIurJ4QOGnh4UfGVIPSNza4loHRtxqCs+jIzuo98BawsZPatYHgFi+KvUp7Gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VNsiNvpF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VNsiNvpF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4B35E3D9B2 X-Spam-Score: 6.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: anJuhqLYznn9 Fixes . * guix/gexp.scm (gexp->sexp)[*unspecified*]: Quote value when encountering it. --- guix/gexp.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/gexp.scm b/guix/gexp.scm index ef92223048..e05aed6f32 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -1380,6 +1380,8 @@ (define* (reference->sexp ref #:optional native?) #:output output))) (($ (? self-quoting? x)) (return x)) + (($ (? unspecified? x)) + (return (quote x))) (($ x) (raise (condition (&gexp-input-error (input x))))) (x -- 2.36.1