From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uKHbAVVE8GV7mwAAe85BDQ:P1 (envelope-from ) for ; Tue, 12 Mar 2024 13:02:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id uKHbAVVE8GV7mwAAe85BDQ (envelope-from ) for ; Tue, 12 Mar 2024 13:02:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jE5svvrg; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710244949; 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=epcgKtqHBa3YOq204hTOBggqEECdojyLOXTlxhdl9Pw=; b=ZP7/RCaAmeGm/364PChQXKvN7wr8PSoU3MA8+iG17EasHylQ/sGpf7/+P9DTqmjyJ064U/ 3tUZlLgts2LCLSBtcksHlqmR26Iv55V5XXbuZns5JhZAYyAWDAp8TuUF7GUinH2K3cCeyc JXFWQ/LC//0mbt7jX0CqG20p8dTmSOHyTloT6KxH1dRjFPZiMituFc2XkUN8cQ2fq0sZH0 DfO112rlovsQB8zZdKoJoQX2HpE5pedSDaCgmVndYG2iK44BapMVSo+aQUY4jfQYvLYRFX pShn9zr5O4V47Ae1jdPwtm8FaDgMBuEUVeeTrUQEX7BPoRgdtSMyDjWCah7T6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jE5svvrg; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710244949; a=rsa-sha256; cv=none; b=LQxUUj0s7E+1tkB2CQgEIj3EOQcW0ETGtZCRHd+VJhUd6q3sKroida/we2iomVnygBL/Rz B5p72VkVV8xDngRUnslDX9rElS0rQ81uTPjXqp2NxDiyOe7y3tSWGiTF5sShOlMgU8zvFT sFp3vu3xdrDrraKic5xw707fY61LalzAexdpGtGVf6g/TvIpcI9xVbWNJAl2UQdhhrn0LI r9GSXw4amS52I05ni/nzlce3x5EXLPPHEo4PwC8xpZoyVTBeimwi9FxGcnd4J10QSz18EY 4/lTRgptaT+cU0mMd3ZWfnVMbQ0ssq8Xl4JY+44AeTOvwOIHj/+8wKSCwyjxVQ== 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 C467B52714 for ; Tue, 12 Mar 2024 13:02:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rk0pN-0001I3-T6; Tue, 12 Mar 2024 08:01:54 -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 1rk0p5-0001CE-Qc for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 08:01:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rk0p0-00088s-Ol for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 08:01:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 93562240103 for ; Tue, 12 Mar 2024 13:01:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710244886; bh=bEx2YGMrez5YI+m9f2M5dJuMAs7GstKi07tw+lCfGqs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=jE5svvrgmKIW0AiuXOIo14N9l3Bo8U7j+EeS1sRYmFsNwtdQ+f8jVxhu8e2ynOgzN V8mIIjOzZIJT+sVRpbaQ9FC9LZmp2bYI7ZijVEb3PGFZpSU9LDhBjDoPDzejFKpPYh pcqdwA3t9FyodKatyU6Da9DUGU9+seeQ1pNFTli/FaWLtpDaQWzIlNC6MXmW2KXt/m r4hOiNl/84Or5NFlg3N1nXgv3FXV7NpWwpyWhcQO1JByS7rYJgmrdtheVKnuHRj+Ta RvyjMwcExCSFm2ufyY+RfOEJb9qXkKYR4Ml4A8hc3JN2D/ENlG3TCSek6ErQ9xXKSU WTEEmw/oojL7g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvC0j4ygmz6tm8; Tue, 12 Mar 2024 13:01:25 +0100 (CET) From: Ihor Radchenko To: Laurence von Bottorff Cc: emacs-orgmode Mailinglist Subject: Re: ob-haskell and changing executables? In-Reply-To: References: Date: Tue, 12 Mar 2024 12:05:38 +0000 Message-ID: <87msr3eju5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.27 X-Spam-Score: -8.27 X-Migadu-Queue-Id: C467B52714 X-Migadu-Scanner: mx13.migadu.com X-TUID: WOxAdQO9rBgV Laurence von Bottorff writes: > I'm on Debian 12 and I just started using Haskell's ghcup tools, leaving > the stack tools behind, as advised these days. ghcup puts executables for > Haskell such as ghc, ghci (REPL), cabal, etc. in its ~/.ghcup/bin > directory. Next, to stop using the stack tools that have executables in > /usr/bin/ you must change your PATH to go to ~/.ghcup/bin first. But when I > try a Babel code block, ob-haskell seems to have the /usr/bin versions > hardwired somewhere and calls up the old ghci REPL. They are not hardwired. May you check that PATH inside your Emacs is set correctly? You can, for example, run (getenv "PATH") or (shell-command-to-string "whereis ghci") -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at