From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GGwuEYRv1GHsEgAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 17:02:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IJneDYRv1GGSPwEAauVa8A (envelope-from ) for ; Tue, 04 Jan 2022 17:02:12 +0100 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 65B7A3B40F for ; Tue, 4 Jan 2022 17:02:11 +0100 (CET) Received: from localhost ([::1]:51030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4mGI-00087P-It for larch@yhetil.org; Tue, 04 Jan 2022 11:02:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4jK9-0005TS-6O for help-guix@gnu.org; Tue, 04 Jan 2022 07:53:57 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:34785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4jK7-0001Tr-25 for help-guix@gnu.org; Tue, 04 Jan 2022 07:53:56 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 4F80532006F2 for ; Tue, 4 Jan 2022 07:53:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 04 Jan 2022 07:53:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fullmeta.me; h= from:to:subject:date:message-id:mime-version:content-type; s= fm3; bh=kL7+ACbNH5WgDC1r1AY0uGoB1V8l8r7sUTu6wdMdbLE=; b=HiLEQObH pNokVEsO8QdY3tKDhbbjum6hF55PDHcj5XoPb/VpoBL9g39jl7GM++EnLD+w2aVY QZCJvvS5JKOt2ZB6gZOr6vmgcx9zSWw9MFIEMAdI0tpc9nwKfTWUz8lW5yMCGxXz ZRw4dm+vTmbWi6dK27v6dkQNp1Ssmk6PwG66cMaLuq4Eaqjnb0PKKF1v+6jFENXG StOH0NgwzTA0H1cTjZwel9Uo4WKKISTS760qnCVMKTu90DH3ksndK4qASFxRYDnz TSXeCFoGgLfzY6ksGvRHetXnAg7EmKN2RQ3IWloaKwIiGGfFhBAP8I/5z3E3EWNm urTa7JMmuHiz2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=kL7+ACbNH5WgDC1r1AY0uGoB1V8l8 r7sUTu6wdMdbLE=; b=OVsdldjIfSxa7ggfPh1h3EAXqZEJOSrdWZTSlhLWTC+E5 Th0RsIVth/rTXy8ZCRWFdZod3XylR016MnB0zg0qrp6Fvp/i6KZxlsxlu5HItwff pf0gjLn04EWOhl/oXLisnm7AYtFRYPhiomapPpkE3CcsCE4XbjaRuvI2mJbG7ES0 IWiMQ4oUwvRNdmOEysH8+7JQsqcWTO+lYJH5iT1O6Ae04J4d+9qFSapf2XwQ37Cb 7dILSQOHXK8KtzGNyoE0+5swg2hLRFAj/tAoM++Vw/GyghLlWX2WA/mkaH0v7TH8 EsgMaV9MnlxbXGEH6sMUUj+yp5dd8W29HUPWiUTVQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudeffedggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd ertdenucfhrhhomhepthesfhhulhhlmhgvthgrrdhmvgenucggtffrrghtthgvrhhnpeei geduieelgeehleeuteekudffvdejveduvddvvdetgeegfffgtdefveeivdehgeenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtsehfuhhllhhm vghtrgdrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 4 Jan 2022 07:53:50 -0500 (EST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id d6582532 for ; Tue, 4 Jan 2022 12:53:47 +0000 (UTC) User-agent: mu4e 1.6.9; emacs 28.0.50 From: t@fullmeta.me To: help-guix@gnu.org Subject: Emacs inside container: preserved DISPLAY unavailable etc Date: Tue, 04 Jan 2022 12:29:13 +0000 Message-ID: <87fsq3k6g4.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=64.147.123.20; envelope-from=t@fullmeta.me; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 04 Jan 2022 11:01:50 -0500 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=1641312131; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kL7+ACbNH5WgDC1r1AY0uGoB1V8l8r7sUTu6wdMdbLE=; b=SCvtBq2JdAVvJUL8F3rZT1TVyJQcro1qVcebYPL6/yNqlGhUVjAVzwy+HdiHteLSNWyGXU y97un+oh6w5DiL5ky7D5i96vGoa9lcvsi4l8kgVWATHDjSYINibU3czBSZfMKFKxjV1KpS FSemC4ZFO9BgJR7jsfDXt8+rmDFjA5GYHngQNfz++c+4KDXLgImDkQKBVJOu7iHE8zv0vm vTiHCCY5U6ynXbrjmpUsotftagqu2EiPiVxlA50U87hvtaL47QytbSCvekxZclwL31kJiv LfuENYcWOESXfmFvdvxg0+awBR2ixmGo7rtcJRayqfMMmh8G5qy77Tcg/yk/YA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641312131; a=rsa-sha256; cv=none; b=KjFCOuxN1y45kxnZXwaYi3L3BAiWnjcM6VEpzoifuV0D/hvVLYm1nFkAA2TZHFnQymCFiX EUFd3PDVSlXw+W/zlx9lVEoN2+1aUFLBEgsi0NYCyyectsu1pqk14lfu/GwiqusUum6mcX lNuV/O1CSSpIlZjxcwtyb8b7LbK3LN5rcK6lLKI745QsMK/rW5jRSUPT8welDJIhDxjwFm 1jfveBWdVox4R2C3GpcFBK9ntCRNwOopdUj5KZa9Gn97ziS95IEmr4BQZKT8lmfv/oaDcp 5O+96LG7XUP+Tmj4ktiJc0VILHmMIxdvuquKDD2bws/M+2qZdU7ymfSPkTDNYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fullmeta.me header.s=fm3 header.b=HiLEQObH; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=OVsdldjI; dmarc=none; 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: -4.89 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fullmeta.me header.s=fm3 header.b=HiLEQObH; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=OVsdldjI; dmarc=none; 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: 65B7A3B40F X-Spam-Score: -4.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: ir7lwxhF56YJ Hi guix. Straigt out of manual: -------------------- $ guix shell --container --no-cwd --network emacs-next --expose=$HOME/.emacs.d --preserve='^DISPLAY$' -- emacs No protocol specified Display :1 unavailable, simulating -nw Please set the environment variable TERM; see 'tset'. -------------------- Why? What's going on here? Am I supposed to expose some device or smth? This is almost verbatim from Guix manual. Is there a way to find out which process' reporting that error? Lets pretend it isn't XXI century and try terminal emacs: $ guix shell --container --no-cwd --network emacs-next --expose=$HOME/.emacs.d --preserve='^TERM$' -- emacs This starts emacs in the terminal, but fails to load any user installed libraries e.g. use-package. Looks like they reside inside ~/.guix-profile/share/emacs/site-lisp, so maybe all we need to do is again follow the manual and --link-profile $ guix shell --container --no-cwd --network emacs-next --expose=$HOME/.emacs.d --preserve='^TERM$' --link-profile -- emacs That doesn't help but load-path inside emacs has $HOME/.guix-profile/share/emacs/site-lisp as first entry, hm. However, if we look inside its almost empty. So, I'm not entirely sure exactly what --link-profile even achieves. Is there some magic in play that "trims" /gnu/store entries only to whatever was in manifest (or packages) passed to guix shell --container? That would make sense if we are indeed trying to isolate things. If so, solution would be to -m manifest.scm with all my emacs packages along with emacs-next. I'd really like to solve the 'display unavailable' above. Could anyone help, please? Thank you