From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WJ8ND1hIsV/4NQAA0tVLHw (envelope-from ) for ; Sun, 15 Nov 2020 15:25:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oAD/ClhIsV9lTwAA1q6Kng (envelope-from ) for ; Sun, 15 Nov 2020 15:25:12 +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 0A2A39407E5 for ; Sun, 15 Nov 2020 15:25:11 +0000 (UTC) Received: from localhost ([::1]:38594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keJtt-0002uU-VH for larch@yhetil.org; Sun, 15 Nov 2020 10:25:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keJtJ-0002N5-7Z for guix-devel@gnu.org; Sun, 15 Nov 2020 10:24:33 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:40608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keJtH-0001CS-MA; Sun, 15 Nov 2020 10:24:32 -0500 Received: by mail-wm1-x332.google.com with SMTP id a3so21356407wmb.5; Sun, 15 Nov 2020 07:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=FAed6I4/jgXThoVIKD9TgmrHunaiq/XT2VrLI5qkwI8=; b=W3EGdtxP44JbuPnMY3Ow2M6KzkUeT2eqlld3NsjCfuUwNebI/MjJbOObK+rDEAyEkb 3KPMNchMN557IBvFb2xfwzfgRiMt9srLy7cK5zh+ShmuoM7c+yn8dLO5Z/9T0pi6xiP9 A1vgcAVKnxwlQ5JKPSlXoJQ4Y60Lx2mkZisGWUreMp2XCBEGHus7nbM8bPNheYuA/5G2 sbiEfJzspp8VYmw8EkxURf3uJm3e/dL9pcfagEuXv3JhF9P1RvqDZHy1BEGo4oLUYpht Aj16w/m4u/dDjIIV8P9Nm/TTbBriI95DSdPoZM8BHcbEl6joa5wX8HrILiZzVR8YYVg9 imjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=FAed6I4/jgXThoVIKD9TgmrHunaiq/XT2VrLI5qkwI8=; b=iUcwU6rIKwFKhP7FVWfSufQFYXGbwfebxZ5AQKmIUxaSqwnrDpX/f/0M/xN4wr4vr+ kJZhP0bSxxrM7+0PoXOfQxJ8Pjh+uY+uHRCWyOCu/Bimlr7JglpTeHbeCUn2hTMa4GDe 0hRjWRl9XFSBQzRUxaSVrN7hFFPWBvuh0sZkUdqDsS1JUSLu6RW9aSR1U97oYWwYyp8q fZpssyegsflrf37+5Fxl2QEJl9U2cCigJBOECXXONrX3zUsJXg9pzU/P8awLUbOnnScR xz6ZHYVUpEJWyChVwVYqYR8Fg+Rg4RWXL51CX7kvjpfoRa1vz2sVs20xsiaGf4CPSGQ4 9ECA== X-Gm-Message-State: AOAM533q9HHdPy03sxNTQiQU537jluD+YpRH6Q6Gq7luaKr5U8Iz5iOt Is0uhmmWho8kWteerNSpnN4f/427a7t5pA== X-Google-Smtp-Source: ABdhPJxx+i2RH6/kISoN6XL1/oLJRwHcOc/S5R1xnlHQgARkTEp7+r16idHr08WEUowxwH3jVUtvLQ== X-Received: by 2002:a05:600c:2252:: with SMTP id a18mr11241896wmm.139.1605453869605; Sun, 15 Nov 2020 07:24:29 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id b8sm19985878wrv.57.2020.11.15.07.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2020 07:24:29 -0800 (PST) From: zimoun To: Pierre Neidhardt , Ricardo Wurmus Subject: Re: Reviving Emacs-Guix In-Reply-To: <874klqeml0.fsf@ambrevar.xyz> References: <87ft5dzj2z.fsf@ambrevar.xyz> <87tuttci4z.fsf_-_@gnu.org> <87pn4g8eay.fsf@ambrevar.xyz> <867dqoyu34.fsf@tournier.info> <875z68x73f.fsf@ambrevar.xyz> <86sg9byj07.fsf@gmail.com> <87h7prx2ut.fsf@ambrevar.xyz> <86pn4fye6l.fsf@gmail.com> <87zh3jvjfj.fsf@ambrevar.xyz> <87d00fd8cj.fsf@elephly.net> <86eekvy6cq.fsf@gmail.com> <87h7pr5aul.fsf@ambrevar.xyz> <86a6vivk04.fsf@gmail.com> <874klqeml0.fsf@ambrevar.xyz> Date: Sun, 15 Nov 2020 16:23:58 +0100 Message-ID: <86ima6tzht.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x332.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Ryan Prior Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=W3EGdtxP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: e6GpAgeoV1Vp On Sun, 15 Nov 2020 at 15:11, Pierre Neidhardt wrote: > My bad, makes sense now. If it makes sense=E2=80=A6 >> Especially if >> >> (guix-eval-in-repl >> "(guix-build \"nyxt\" \"--no-grafts\" \"--check\")") >> >> works fine. > > What do you mean with this part? =E2=80=A6 I mean replace the current offending part: (guix-eval-in-repl (format (concat "(build-package* (package-by-id %d)" " #:use-substitutes? %s" " #:dry-run? %s)") package-id (guix-guile-boolean guix-use-substitutes) (guix-guile-boolean guix-dry-run))))) by something like: (guix-eval-in-repl (format (concat "(guix-build \"%s\" \"%s") package-name some-options) in the Emacs function =E2=80=99guix-build-package=E2=80=99 which is the one= that chokes the build part of Emacs-Guix. Then this =E2=80=99guix-build-package=E2=80= =99 function has to be exposed to =E2=80=99M-x=E2=80=99, currently not and I do not why. Somehow replace/rewrite =E2=80=99build-packages*=E2=80=99 which seems the o= ffender. Not Geiser. If you confirm that it works for you in *ielm*. The function =E2=80=99guix-devel-build-package-source=E2=80=99 is another s= tory because it means interactive-ness. Well, I have not looked into. But similar trick could be used. Cheers, simon