From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CBnnJOfYd2cAvQAAqHPOHw:P1 (envelope-from ) for ; Fri, 03 Jan 2025 12:32:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CBnnJOfYd2cAvQAAqHPOHw (envelope-from ) for ; Fri, 03 Jan 2025 13:32:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MQYMv37K; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=GpWxA78f; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=muradm.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735907559; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=oBktM2j64lSnJgXZtdeh4nCO/bsrkqcCkkTVbGlu0UA=; b=sXcHeM9MvXgoznAdC/Ux3RcvZ1eZX83vn1wMbysWfRSOxvUtbWyZITFjKfcUirW5tqgeMs 44CdBN7PMTpnpgmCEpNJS011gBXp4sEY9Vpi2K14Wjs6fa90pY/EJQqpWxU4C3EcZyxkh8 RzCdsHi/XcRPWG7BnMi/MzcP/MfHXxCSJr/X829OoRnwcQQO//5MdjR5+gbCBU/wxwx7wi YS8qeAYxAwbwlrxoWn/OhlIr7DXyLYVc1LtwMcBXq5Td2/1jNUkldh1rISRq+Cse6uFvhn wN87mn/kSJydlRevWbJjHhcB3M5pwc6HkcZxbHzhyzWZgHanCpog9h1KE8dLXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MQYMv37K; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=GpWxA78f; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=muradm.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735907559; a=rsa-sha256; cv=none; b=iQ2jnE8bunOPdSJgiGmLslUkytYKmhmRK9/Tq/ElauZxCdRFWDrXJ1aWJjW+XQIbWk0RrJ aKnozVgB53rEg00LmcWdyaAQuIaJj+mqU+pUQML2HAWHk0YtzTsoXCQuAL5/bXjYuc/+qG d2ErahVkUnav0icGq+hHxsAnxT3lMrYMdJhc9sO5s18V8aNGA8VfBxYlmeezv3v9zkF5re Rie/7p3kb+ebbUHe/+rhQGuk97MVGizAciajghHwSmGwf/otKxkhRdV7Tup8wl474zR1WF cEFfugLH6aJUHtoaLLEroYC7mgU0KOpGWFWD35wbMvqVhgLBWcu+NmxCg8I6yg== 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 284DB9B166 for ; Fri, 03 Jan 2025 13:32:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTgqf-0006am-VM; Fri, 03 Jan 2025 07:32:19 -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 ) id 1tTgqR-0006Yb-F3 for bug-guix@gnu.org; Fri, 03 Jan 2025 07:32:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTgqR-0006QM-5U for bug-guix@gnu.org; Fri, 03 Jan 2025 07:32:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=oBktM2j64lSnJgXZtdeh4nCO/bsrkqcCkkTVbGlu0UA=; b=MQYMv37KE95ZT/WQCKgTnVFmBjtoPRaojSgq5L1Hbyrv0mSAeWrXOjJuzRDboenItFbY3pHM9J+jm8oy1HXX05cU2Mu6caD1D6fIqfWYKQ8N0F9u9unz1ibVCnDgMSwSaDMs7Occs5ZLcZphJ5BMkimW4J966O6sSIqLf+voTOR6jK2o/Zy3MAEgr/M/3gvswvp06RpIXkWZzb7xj88yxZsVFX2jqn/hyTI+wUGR1MEymx/z8MC3BpHx+WwzzOR4FLrj4BxxCPwFykonLEu56/j8eCgycfMGEAMxmRH7LzihEJ8Q9S1BJq1DqHeQBMynqqi4z8MPqmDz4JfSGRNuLg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTgqQ-0004aV-0N for bug-guix@gnu.org; Fri, 03 Jan 2025 07:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#75295: emacs-math-preview: add math-preview dependency? Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 03 Jan 2025 12:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75295 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Howard Cc: 75295@debbugs.gnu.org Received: via spool by 75295-submit@debbugs.gnu.org id=B75295.173590746617560 (code B ref 75295); Fri, 03 Jan 2025 12:32:01 +0000 Received: (at 75295) by debbugs.gnu.org; 3 Jan 2025 12:31:06 +0000 Received: from localhost ([127.0.0.1]:49912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTgpW-0004Z9-2p for submit@debbugs.gnu.org; Fri, 03 Jan 2025 07:31:06 -0500 Received: from nomad-cl1.muradm.net ([139.162.159.157]:47366) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTgpR-0004Yc-My for 75295@debbugs.gnu.org; Fri, 03 Jan 2025 07:31:04 -0500 Received: from localhost ([127.0.0.1]:41628) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1tTgle-0001AP-2E; Fri, 03 Jan 2025 12:27:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oBktM2j64lSnJgXZtdeh4nCO/bsrkqcCkkTVbGlu0UA=; b=GpWxA78fswrktaagwS7YXdGZ0K LkItGb+RR9ak+KXaMR6gUjmmv4PLsCzS7HYzaCy3bEKoekd9vt1pIkkAOh0rSZHehXTFRe5HkXzON 7ptVz8CJoPC3C8MQTyAnwHfZc/rpYJI1wved9b0XbeJ4mo/r4mUndmQv4/Nm7YDeb1FRu3Gt4elgD M7UVAb8CAt7UbxkL+ep0MkFuu+Tdhosy+w5BoRYZWjqG7WXhh4QZfTHqSB4K3P1AKebMoZaMMhNTh Z/KsiYhsa8EQwC0g4Srb40QWFbDi2S/CF6ZxsGjBSwm/AGeanFnrK/U/njrwj3tuVM5j86n/+iC4U zZCcGeq9wR+/J8c+KDTeaYucFo9h+91FASQw8fe1784xVZgZ58Qd1udNMGmrzfHJDd9DOzz7cxJHv PkUgc5PrPF0jTlObojmgNoDsCecQ/heRFplr6IF6omJcN130775LiyEZguyBqKsu3p7G9iMmXKCoU aK7DCiX5P40Rr22Jf5AjiVDK; Received: from muradm by localhost with local (Exim 4.98) (envelope-from ) id 1tTgpK-000000001bD-2pWe; Fri, 03 Jan 2025 15:30:54 +0300 From: muradm In-Reply-To: <875xmxuliy.fsf@librehacker.com> (Christopher Howard's message of "Thu, 02 Jan 2025 09:18:45 -0900") References: <875xmxuliy.fsf@librehacker.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Fri, 03 Jan 2025 15:30:54 +0300 Message-ID: <87jzbc5bb5.fsf@muradm.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.85 X-Spam-Score: -5.85 X-Migadu-Queue-Id: 284DB9B166 X-Migadu-Scanner: mx10.migadu.com X-TUID: rQpEGmX+0uhD --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, normally nodejs packages are hard to import, since they have=20 tons of dependencies, just like crates for rust, while crates are=20 maintained in Guix and npm packages are not. When I need nodejs package to be available for emacs, I once=20 install it globally: guix shell node -- npm install -g=20 git+https://gitlab.com/matsievskiysv/math-preview Then next time I need an instance of emacs with it, I would run: guix shell node -- emacs Beware, that if you run emacs without node available, math-preview=20 would not be available as well. If you normally don't have any thing complex to do with node (like=20 having multiple nodejs versions, environments etc.), you may add=20 it to your profile. Christopher Howard writes: > Hi, the package emacs-math-preview requires nodejs package=20 > math-preview to be installed, in order to work. Would it be=20 > possible Somebody=E2=84=A2 could create a package for that and add it as= =20 > an explicit dependency for emacs-math-preview? > > I know nothing about nodejs and am having trouble figuring out=20 > how to install math-preview myself on Guix. The README.md=20 > instructions in emacs-math-preview state: > >> It may be installed by issuing the command: >> >> ```bash >> > npm install -g=20 >> > git+https://gitlab.com/matsievskiysv/math-preview >> ``` > > However, if I do this, I get this error: > > ``` > christopher@theoden ~$ npm install -g=20 > git+https://gitlab.com/matsievskiysv/math-preview > npm ERR! code ENOENT > npm ERR! syscall mkdir > npm ERR! path=20 > /gnu/store/lknvzfbwqffvvyflid5dpm53vbjg8kh4-node-18.19.0/lib/node_modules= /math-preview > npm ERR! errno -2 > npm ERR! enoent ENOENT: no such file or directory, mkdir=20 > '/gnu/store/lknvzfbwqffvvyflid5dpm53vbjg8kh4-node-18.19.0/lib/node_module= s/math-preview' > npm ERR! enoent This is related to npm not being able to find a=20 > file. > npm ERR! enoent > > npm ERR! A complete log of this run can be found in:=20 > /home/christopher/.npm/_logs/2025-01-02T18_16_26_364Z-debug-0.log > ``` > > Evidently, I need to somehow pick a different path or something=20 > like that. If somebody could at least document the correct=20 > installation steps here, that would be helpful. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEESPY5lma9A9l5HGLP6M7O0mLOBeIFAmd32H4ACgkQ6M7O0mLO BeJTmA//d3/ZPyRYG4QLVAu5Qf9NYSKjM2yS5FDQby3C5/DG0vXmsXCPEpa2Tvar fw6puUjN0QlxLGyqOttPnrewL4I14P6vgX3a+mu0iJAZ3y1Rn4Q6h9IaNod/i7Vx J1TqZf2ZviNAEPwd6yXaHDf480Y4sNEuReUaia/pXaULJ/Hxas3peJwX/WJfwBoj GE9gJ4iZSKOwYy1qZfs7WZpOpxsQ5MFlQmfCrgckfiqJvlU51HUnNLKq6yit8Elt rj0hbAE8rWGaYrCSYqBVMoUg9bqXHxNMLSZB7Vl7j1pyERKusGPeZzl+0Gms2MJa R+I42Ru0vZ5EcxTAcVYmtaRxzRo2KlsAsRRUxZEuHyFs5aAKGpPDq1pA0DeGSWzs A48uwCUUbRnequTCxSLhjZIKhIks4/rcdOVTpTL2jtHYqtMP/c54jpM9a+urigY9 aOKobQwci5keHjOlD0I+z0uK+3gsHnrsbwYXw8lMgthODSzxxQTk+soDMsqe+/iw 0jqjwGVs2+tnMqPPFQHQ9f6rTRBFlo82dPN292v1g+KunxY0+oKKHCIOdwaiCl4W S0nsD8meJsg+F+uEEb/+SxgyqJgTqX8WkqQsYSgcNsCTC6uacfoIIbrlvA4FJiKf SOTFTL5WAh2t1K1jcpxObyRgs/KpPMidRe3sBkPL4d0xIVpAtlI= =ytJJ -----END PGP SIGNATURE----- --=-=-=--