From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QD1ZGttOHWVDuAAAauVa8A:P1 (envelope-from ) for ; Wed, 04 Oct 2023 13:39:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QD1ZGttOHWVDuAAAauVa8A (envelope-from ) for ; Wed, 04 Oct 2023 13:39:07 +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 29C7144BC6 for ; Wed, 4 Oct 2023 13:39:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=CnYkNB2Z; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696419547; 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=kWXmEVTjSU6cN2ZJjffapcV+ttpV1dTg+1QmDxsiHG8=; b=D2QHFA5Ne9CuAopyCih6BFGJO0T5dpIDXWoVZNTaF+Wy3W3/Pb1UGTaoBa4HOKf2gRKlut N84VxbaDEYekyTMUdejrDRbwXe15esy+0vH7no40+e14iKf8pc7zMpBzewX1sanWXb+Iix rue2BR4zR+EtcAi2KYFLyA37u2k6LKBNZTpTwfxHczoRpYpitfwud29SCxWHb0Wqfnj8Yj MZhttIVFsIdav36q+RY5HlNJQ01roUmAHkD46yHen1zeaBFsluvsMzE+XbeOdgV+zfMr6L YzTjvyB6wjGKoMAyGLj4xhbMJt9A+wIihGVgooL0NAHrC6Ist5MsjOTz05jIng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696419547; a=rsa-sha256; cv=none; b=ucmhxm9BvTH+zR65jCmNeSHkOQylueQdovIbfhCHs5TIqbts5U3buuo67xrOVoh2jdZk1h xdWwMQJ+MKCeQYjc5OeKwrBsL48Yslag609jTsgnyndFUw2G1sFKfOhl1Mfok66zAjZ/DF tc5D1O1keSAX//o3uQs5pBkErEGPAzUYV5NFmzcQFoU1qSuNfijt7GYF1eM8ovhO62zwOf CBKDca+Fgx483xplSm21p7gCuWuUTtN4bl0TRlfTfU3SnG+x+5F30COMlWVdlT7UOYmQ/N 3mHgdksnEBfnnjCWZLRs9IgxQjr5deeerXQbtNL3E5sPhE1Oz35t+IpHco4BIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=CnYkNB2Z; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qo0Cs-00050K-FV; Wed, 04 Oct 2023 07:38:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnPU8-00028d-0I for guix-devel@gnu.org; Mon, 02 Oct 2023 16:25:44 -0400 Received: from mail-yb1-xb44.google.com ([2607:f8b0:4864:20::b44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnPU1-0000BB-Ek for guix-devel@gnu.org; Mon, 02 Oct 2023 16:25:42 -0400 Received: by mail-yb1-xb44.google.com with SMTP id 3f1490d57ef6-d81c04db292so32626276.1 for ; Mon, 02 Oct 2023 13:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696278332; x=1696883132; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=kWXmEVTjSU6cN2ZJjffapcV+ttpV1dTg+1QmDxsiHG8=; b=CnYkNB2Z9wd89qvBA8x7XvPtJd5//5JkodWusqtSnQ+yKgmu1WrRJyhI0z979eJVN2 ryeMMtQTS4tJ8NVopemcQvFWGeWRSOCNNxBqN427aiC5KxPmabCeXh33YJL9ImrGVWVn Mk1OtQ/o/adFNSCPf9Pt3wxcAfOO/GZLmOVurx/gLtsIbjCKuyq0ysZ1R+Pfy3f/ImzA FE2y6Tm7ShhbgbzclrwkSbzFRE6IUovc3HTBS+QsaP45GyI4e02S4sxLjmj5LE807gdv OO2ihJJRXybUNmAYNlZskOHqS6JCnvuNSKiiUUBNRLOLX0J2JedpfTmKvhVwXmbHUKa5 4r+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696278332; x=1696883132; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kWXmEVTjSU6cN2ZJjffapcV+ttpV1dTg+1QmDxsiHG8=; b=uPkvIkNtNn5S5VnNQre74eiwmVFm4aHWCKONZItgrbdrF1r9I9E1EhYNPAzQrnhrd/ QpT4IKyS7hF2vqmQezoE2XNjBKsrlnmR+8kGGYDFGRkBQKKoVyQx0U2/xoqYOZQO6DbV EEgJcNDEubHTM6iAUGLl9FeSQbjBBiPoc4YgK5N6YlrUyKqc0LIix+n3fB08kVdxLjHz 4W3WMridmDsIERecVqW8cTWkKo8dqcuY59fMmQRvaySry6UAzfcV6nyRuVe9ciTTmGaH de3bpYgtVarNdaDEKCei6Kc3H25jjoybAKOtnLT2GGiHlyV0kAFk8aggODipx7UCKPUy 2amw== X-Gm-Message-State: AOJu0Yxid119kzhY+YfwMDmLQLOAojnC8W4w3F985zMFvmyD5YXh9lCF CPD9pVLTke+th3CVkqDQ9P86FOO34eflvw== X-Google-Smtp-Source: AGHT+IFZ4N0c69qmwcXBrPPE26y+gv1hyqPTcO1TR3fdWOVkc3vAwLPE+FyfrFDzv1xsibGTJzQ+Ag== X-Received: by 2002:a25:b206:0:b0:d77:fb94:63fa with SMTP id i6-20020a25b206000000b00d77fb9463famr5990452ybj.0.1696278332506; Mon, 02 Oct 2023 13:25:32 -0700 (PDT) Received: from fig.gmail.com ([146.70.198.239]) by smtp.gmail.com with ESMTPSA id d17-20020a0cdb11000000b0065afbb39b2dsm7552599qvk.47.2023.10.02.13.25.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 13:25:32 -0700 (PDT) From: Suhail Singh To: Ricardo Wurmus Cc: Adam Faiz , dannym@scratchpost.org, guix-devel@gnu.org Subject: Re: GUI for Guix In-Reply-To: <87y1gmqd1q.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 01 Oct 2023 22:52:49 +0200") References: <87y1gmqd1q.fsf@elephly.net> Date: Mon, 02 Oct 2023 16:25:34 -0400 Message-ID: <87edicvkjl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::b44; envelope-from=suhailsingh247@gmail.com; helo=mail-yb1-xb44.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 04 Oct 2023 07:38:18 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.02 X-Migadu-Spam-Score: -7.02 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 29C7144BC6 X-TUID: 4LYiJxe98ZGk Ricardo Wurmus writes: > Is it *actually* broken? If it is and you can provide information on > how to trigger the broken behavior we might be a step closer to fixing > it. I believe it's unclear how to ensure that it is configured correctly. I.e., I believe the package mostly works when configured correctly, but what the correct configuration is is unclear. It also doesn't help that the discussions are fragmented across Gitlab, issues.guix.gnu.org , IRC, and, now, this mailing list. FWIW, I'll note below some things I tried and my observations below. guix shell -C --no-cwd --expose=/gnu --expose=/var --share=/tmp -E DISPLAY -E TERM emacs emacs-guix bash unzip -- emacs With the above invocation, I was able to invoke M-x guix-popup, but every subsequent command I tried after that resulted in failure (an exception was raised). Locally, in my host system, I was able to get most of the commands working by simply ensuring that GUILE_LOAD_PATH had the specific guix-module-union entry that was present in %load-path within "guix repl". Doing so, every command from M-x guix-popup worked except for M-x guix-command which would result in an exception. The instructions on the Gitlab issue (cross-posted on issues.guix.gnu.org) either have a typo or have bit-rotted. Specifically, it's guix-config-guile-program and not guix-guile-program that helps when overridden. (with-eval-after-load 'guix-repl (setq guix-config-guile-program '("guix" "repl") guix-repl-use-server nil)) With the above configuration (or its equivalent use-package translation) I was able to ensure that M-x guix-command no longer raised the exception. It still doesn't quite work correctly (the specific guix command to run isn't prompted for), but it's better than before. IMO it would help to document the minimal configuration that's needed to make emacs-guix work as intended. And for this to be testable via some "guix shell -C" invocation which is also documented. -- Suhail