From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QIPjCDaC6GURFAAA62LTzQ:P1 (envelope-from ) for ; Wed, 06 Mar 2024 15:48:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QIPjCDaC6GURFAAA62LTzQ (envelope-from ) for ; Wed, 06 Mar 2024 15:48:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=tAJmAdZ6; dkim=pass header.d=wolfsden.cz header.s=mail header.b=tAJmAdZ6; 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"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709736502; 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=hHSMlFeWmmXqIienMeI4KfBvVgQXanx3PND0BFmENJA=; b=FKOM57jZaar0ysYCIoKLV0JOzpez0Rr5BPDF2Vare9OEQe4mGT71bfWtX761DVDl0igqSN orsd+vuUT1D9ksrOcDBDY0E6Z9KqGzOR0H5IQwkxMmiXU5WaTn3UikZwojfxqSqZKnw4lY XmCrnjdkqab30uM5vgRrPy0QqZeLZ4NTqINu/NPWeZPd9nUOL7h1ctdOxx0XJ0ohGRU6Ny pRrQj+4+SmrZPbB9guaWJNprxeN9ugGI6lm4IDGBgyMWpBYBK6DFJqdCcDRwHlJViW8Tjv NhKjXYOsQmxBmEbdo7ZmtxLJBEORWMY5FYT3OBCM9kZiiD87iIAk1bofLwa84A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=tAJmAdZ6; dkim=pass header.d=wolfsden.cz header.s=mail header.b=tAJmAdZ6; 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"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709736502; a=rsa-sha256; cv=none; b=XM+wpM9hSSVvmgFFYc8Y3Eg5gsveirIigAUU/YYKYZLorXpj30pCdxyErnVVO624MfmdF3 2pAV4zQtbIPtIdBZdKbUj+kuWrJfEo9ywcDLpCeS+xasPw1a1cGDKixKK2bwrqADMLrZAw PVJ2JDGkuiqXdMCyAFv4Pq8flWNYAE9pKQO1jHnnQC0Dbmbeqeodp84xe29VtF3RL6PU92 +1IeUBGLDTcb7KOEt3OX3ooetPLClliKyyIwZhDv9gAPNb7IaKR3HKrrUGvNqGoUPBT7vB 72tO98VfGLike3VOgloZ++SNDuf0bVBHQBZi5eFg+whwV8YKDQChZqY5vX0kiA== 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 9EEE874C14 for ; Wed, 6 Mar 2024 15:48:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhsYQ-0003rh-G4; Wed, 06 Mar 2024 09:47:35 -0500 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 <~@wolfsden.cz>) id 1rhsYL-0003lx-ON for help-guix@gnu.org; Wed, 06 Mar 2024 09:47:30 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rhsYJ-0003ZJ-Lg for help-guix@gnu.org; Wed, 06 Mar 2024 09:47:29 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id E761524E842; Wed, 6 Mar 2024 14:47:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1709736443; bh=1ajYB/+e7yKmb62LIdvZT3XT6/1Hw+l+1oYA4hJ3/Zg=; h=Date:From:To:Subject; b=tAJmAdZ60aUrfXxecKzkdAmPapGKd7CGNOq3dyWQOXpQqzLsIH9oC4WkQ0agoboZc q8WRpXuWkTGDlgvRZHhAi7oUnP6+JES2z7eawLLkXeFq0oMfSFCR518snqKqHtvPs/ DEeMqnDegcOsH0JzvCU2n0AMvhyB3nD6/VuQqSfFp2Qzk729Gsz6BBG0Dgy9xyEcC9 h5cEuaPCrHjfs6j0kmgBiiwVn+PxXbJIDZkFrDsm46pzkGkiOp7zD0yFnVavNTTFoE /AovcDfg9gyFj7hHZ2aRn7PWupV7xWa1U0IV+K7cuPcQ4epX/2GxnV5nTptWUHNKeS uKbuaOoROHb9CCll96thqcoRZnEPtsKp+oKdJ3h2ZUROtWw1wmfWNr69FqZ5TY9S1n u0A2nKfEOz6axP+aj1R0GoExSYlC0V6Bqd+tEtHZIKbB61y7J++0VTp2DnBzOepfQu EkYaxQS7EGNg6Ciwh/T208LiwAKrLrIOHsVkiOFfPw1Ppvyc92W6ZerqufKs9XaTg2 V0f1TwJD1VGoXenKXGfApD0z91lsv5CSSOe7Hh+1h2NCrQfMulIf5V7VvI5vC5jt4t L31s4DFZIXCPJdhpRnvNZsHyNLllDoRN5tmHKeYFyOC7PWhNxUEQe0C6dHXVLsBNqb PRwEzaRmHH+I9Tpo3+wQ0aB0= Received: from localhost (unknown [193.32.127.159]) by wolfsden.cz (Postfix) with ESMTPSA id 0C50C24CB77 for ; Wed, 6 Mar 2024 14:47:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1709736443; bh=1ajYB/+e7yKmb62LIdvZT3XT6/1Hw+l+1oYA4hJ3/Zg=; h=Date:From:To:Subject; b=tAJmAdZ60aUrfXxecKzkdAmPapGKd7CGNOq3dyWQOXpQqzLsIH9oC4WkQ0agoboZc q8WRpXuWkTGDlgvRZHhAi7oUnP6+JES2z7eawLLkXeFq0oMfSFCR518snqKqHtvPs/ DEeMqnDegcOsH0JzvCU2n0AMvhyB3nD6/VuQqSfFp2Qzk729Gsz6BBG0Dgy9xyEcC9 h5cEuaPCrHjfs6j0kmgBiiwVn+PxXbJIDZkFrDsm46pzkGkiOp7zD0yFnVavNTTFoE /AovcDfg9gyFj7hHZ2aRn7PWupV7xWa1U0IV+K7cuPcQ4epX/2GxnV5nTptWUHNKeS uKbuaOoROHb9CCll96thqcoRZnEPtsKp+oKdJ3h2ZUROtWw1wmfWNr69FqZ5TY9S1n u0A2nKfEOz6axP+aj1R0GoExSYlC0V6Bqd+tEtHZIKbB61y7J++0VTp2DnBzOepfQu EkYaxQS7EGNg6Ciwh/T208LiwAKrLrIOHsVkiOFfPw1Ppvyc92W6ZerqufKs9XaTg2 V0f1TwJD1VGoXenKXGfApD0z91lsv5CSSOe7Hh+1h2NCrQfMulIf5V7VvI5vC5jt4t L31s4DFZIXCPJdhpRnvNZsHyNLllDoRN5tmHKeYFyOC7PWhNxUEQe0C6dHXVLsBNqb PRwEzaRmHH+I9Tpo3+wQ0aB0= Date: Wed, 6 Mar 2024 15:47:22 +0100 From: Tomas Volf <~@wolfsden.cz> To: help-guix@gnu.org Subject: How to do initialization specific to guix repl inside .guile? Message-ID: Mail-Followup-To: help-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bVXdnHs3zzKQE06e" Content-Disposition: inline Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.10 X-Spam-Score: -6.10 X-Migadu-Queue-Id: 9EEE874C14 X-TUID: afLX9wCUxZMp --bVXdnHs3zzKQE06e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, As far as I can tell, there is one shared configuration file for guile and guix repls (or rather, guix just uses ~/.guile). However I would like to have some configuration that is executed only for guix repl, since it does not make sense for guile repl. Is there a way to detect from .guile whether guix repl or guile repl is starting so that I can branch on that? Thank you in advance and have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --bVXdnHs3zzKQE06e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmXogfoACgkQL7/ufbZ/ wamhdA/+KfFKQXrka87LJgPWQF8z/7ITnLL7qrZpiNWmJxZXucPlBEfzu2EuRq6Y wJ28BxSFUgiH4USmQiuT+19+hA/8b/hIUgOLg1QV2ODkViPeOr4D9a5+ROUFzFum YXfCQTjNESyf9oolAox5ODEY+hZgTBiwd6qbL4ojHlIOKyfmqv568dQFe3SviTtX tDKzSqMymZg9r33gGhsZ16TGkOsIc/aI1JeXvuDCG9dhyUBYa9bQbnuERKorA9is 7q6mNVcsLYLgduN4+qU4VUGiIAz8z7XxquiC5oyTaUzUBy9yC87OyC7aFdfnnn62 HMAjZaM/b65Ud3MhWGw4LcZMldAj5BbuNt4QE6PHwWBgGmKMcZUt952umOtglF6b f65H28RbDhDntn3pAjaoYLCs3YUZKg+0kEZl6O6zgy68/yzuT2EsNc9PN4AHSiYS IcT/ArwDnbmK3fUHZd5blgz83B+Us8rmUsfTrjsjeBzLUJiU3HPbhpYsvkN/oYPW ZuVnkMRobSWWugHvEVJb+CkvSIj3AagJ/LSV2Wllbd9tkuvZe2eSqfbdBuNsRrcR DX6gt8QcYewtW1aVSnpOjCGuL1HdrGuJ3xJTbYgTmNfS0OX/1OEoKitp+4YTyjpP t45yAXGYEKa4TTxYxZSULZS2HRYEqdUwBkB9lLOzDY98nwMdEac= =8gMK -----END PGP SIGNATURE----- --bVXdnHs3zzKQE06e--