From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iBD9CimuJGP5PgEAbAwnHQ (envelope-from ) for ; Fri, 16 Sep 2022 19:11:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GAX7CimuJGOlsgAAauVa8A (envelope-from ) for ; Fri, 16 Sep 2022 19:11:05 +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 1360B28815 for ; Fri, 16 Sep 2022 19:11:05 +0200 (CEST) Received: from localhost ([::1]:56890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZEro-0004Pa-8S for larch@yhetil.org; Fri, 16 Sep 2022 13:11:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZErP-0004O7-Iz for help-guix@gnu.org; Fri, 16 Sep 2022 13:10:41 -0400 Received: from out2.migadu.com ([2001:41d0:2:aacc::]:46772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZErJ-0002y6-GL for help-guix@gnu.org; Fri, 16 Sep 2022 13:10:37 -0400 References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dominicm.dev; s=key1; t=1663348227; h=from:from: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; bh=JIFeAW4M4deb1yWglQDxJRrqwMvSAAYBkQWJdE8LvbM=; b=J+56LHJIqSchHToCodQ0ugyDODez6d8LZiAKtF0Twes1bdfHfDLEoesPYozMudcT+fT1MI oakEF4SmfJ3xJo45/ve1/ZIVSiopJDKA0RPRpGgSWah49SCuR5DdhpbY6Xtm2Wrok96Qiw n8rwtLDQTFuZuWNMsXSnhbXYtO4VcHeycsw3TlPjgxSeTbcVxYinyYSD5Y6eEgbiyn+bn1 hKj6cqSaMqR3yjXN8R+0J0RVvurzRumfBU/1IucRl1QLPgNWKF1KS8u/Y3VmIZSU6+PqfG 3WUijve6R4eO/x/ucFPebMpQBBPCgGDekgwRvLDjp2D8rFIOwVRtpjdG9O3AEw== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Dominic Martinez To: Daniel Sockwell Cc: help-guix@gnu.org Subject: Re: Understanding the Guix approach when language package managers are around Date: Fri, 16 Sep 2022 12:57:53 -0400 In-reply-to: Message-ID: <8735cr2qke.fsf@dominicm.dev> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:41d0:2:aacc::; envelope-from=dom@dominicm.dev; helo=out2.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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" Authentication-Results: aspmx1.migadu.com; none X-Migadu-Scanner: scn1.migadu.com X-TUID: Hf6gu6xtjt8Q --=-=-= Content-Type: text/plain "Daniel Sockwell" writes: > I can think of two ways to proceed: > > 1. Install Node/npm and attempt to install Chrysalis just like I > would on any other distro > > 2. Attempt to package Chrysalis via Guix (probably using the > `node-build-system`) and then install it normally You've pretty much hit the nail on the head; Guix's dependency model is much stricter than any language package manager, so unless you put the (potentially significant) effort to package something in Guix, you'll likely have to use the language tool directly. The strength of Guix is that it provides a single, consistent interface for packages, but it's significantly at odds with the Javascript/Python ecosystems that evolved around "download and run this mysterious blob". For other languages guix import can help, but right now Guix does not have a consistent way to package Javascript, which is why so few packages are currently available. I have a few fallbacks for when I can't work on a project in Guix: 1. Use Nix. Nix is more...liberal in their packaging, and so you still lose out on the benefits of having packages defined from source, but you can at least create a consistent working environment. 2. Use Docker. A docker container with a volume linked to your code is almost always seamless. 3. The upcoming --emulate-fhs option. This isn't merged yet, but you can build Guix with the following patches so that downloaded binaries will see system libraries: https://issues.guix.gnu.org/56677 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQRtp6gAxeTcYmhxQ/1Bnl1fEVBrXQUCYySuAQAKCRBBnl1fEVBr XSRTAP4sXoOgFN2w6mND0xLCokh8VeNOUBcuh76TdA5Q7uv9aQD9EfMCSov6SrTT 1BASyLoddeIEBqKKeueWxXfKL2w0Cgc= =gCoT -----END PGP SIGNATURE----- --=-=-=--