From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YN5ZMORMR2FTXgEAgWs5BA (envelope-from ) for ; Sun, 19 Sep 2021 16:44:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mJriK+RMR2EzIAAAbx9fmQ (envelope-from ) for ; Sun, 19 Sep 2021 14:44:52 +0000 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 5919915A98 for ; Sun, 19 Sep 2021 16:44:51 +0200 (CEST) Received: from localhost ([::1]:42094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRy3n-0005sm-2F for larch@yhetil.org; Sun, 19 Sep 2021 10:44:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRy3b-0005sb-In for guix-devel@gnu.org; Sun, 19 Sep 2021 10:44:39 -0400 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:57196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRy3Z-00080D-2i for guix-devel@gnu.org; Sun, 19 Sep 2021 10:44:39 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id vqkU2500P0mfAB401qkV7d; Sun, 19 Sep 2021 16:44:34 +0200 Message-ID: <7c9b104e4f51502c15c17dc4fa9d8065d824f15e.camel@telenet.be> Subject: Re: Adding extra package importers From: Maxime Devos To: pinoaffe , guix-devel@gnu.org, Jelle Licht Date: Sun, 19 Sep 2021 16:44:28 +0200 In-Reply-To: <87mto8zpll.fsf@airmail.cc> References: <87mto8zpll.fsf@airmail.cc> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-aLttGIb/5toalFMWk4fg" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1632062674; bh=FgJZmoD4elU+XGOUo1q0vEKeVdh51A+OgYuHfG8pCDk=; h=Subject:From:To:Date:In-Reply-To:References; b=uyMN1ciZvfWz+Y9HeEz4PNAzltG6r9zQLfMEMna8TbS5nlVZeyrtOHah1LcIf7YGc ZPWd2Yt4ac6ZtC7xXtUWu9TQ1gBUOrL7jcl2mTsOVx/8JiI8f1+P5zc92YIlG4F7wd JrrTKTflhuoWE8t9vgOVBrV90jtF6hD5wFs4bh9nUXoPBoVUlM5wPxa3hnJ3RRRvOf ZZagvSh3zcGoUcn29Dkzkf2G7arpq9Qh1HZQC1OSR5l4Kfa5xNn/xoWYGo+lGtWcj+ 1cISBsXIxHoiQL7RhGRgF/u7MIcl8wWKhTQiHKNL3xIZK0pTQX4Ad5m3Et7wkSEcCD iRvq1bbp3OsjQ== Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632062692; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FgJZmoD4elU+XGOUo1q0vEKeVdh51A+OgYuHfG8pCDk=; b=IpNuVz71RfQBUUuNCXC/PttRP5few58+Bsihdr7PWzYJRx+YTIuSOp0vcbMeGQjtIFkW39 R8T1VmNFL+PCiK3YkaOKyCa/SYvkajOMU/2ysg8ZoR34HHzIdQQtiUSQ8UfvilxtIeOJ1N OO54fFWnO19khxxHSjZ98EYiRnwWhEHtcNYVF8mW3iTv5KPbpl84dCpiQOJsMGdqkAp8v0 XuUm8CaEyRyNVSwCbnq8y7hMJFstPLDKgI0SiwRAsf93IxouKV1y+IScl7jfknDNceGDmK v67SgNjjQbcJGpwHrsoPmoxImc7i4LRoiROU9F0ycQpu3TsPJYEyQe4Iqh9QbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632062692; a=rsa-sha256; cv=none; b=adgJlgP+dg4pKX5SjTKVKX7XMNDwpnXwq14s99/DpvhYHkEiYUR1NzCMpZmjBU94X8If5A p9I3Z6FkjVzNQRgUAnUTfLzQ2Ne2UONTF/EvRuL0lj6QGz6bkwJLTDiPBFTcVMdT6zfmHJ lVpeUzo6xcK3aOlMDUJwP/kmoOaogCnp6w8rvhV5IwAHaXfsiz+Dlpv3KydNhusiRE+DBm aFI6rsvNIlwQj4SI+TAHInEavKvVvfAQoG43JGiraGx8X5vsipTr7DoyHHoDbqxv6I+usW 2tXhV6e7ficRYV9zlq4WXL3WXoAAVhdWVbnho0tnLkz1QzfGhz4FYB0NnqvX9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=uyMN1ciZ; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -5.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=uyMN1ciZ; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 5919915A98 X-Spam-Score: -5.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: aw95WHRau7DB --=-aLttGIb/5toalFMWk4fg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable pinoaffe schreef op zo 19-09-2021 om 15:01 [+0200]: > Hi guix, >=20 > Recently, I made an effort to get the guix-npm binary importer working > in combination with a relatively "modern" guix - my changes are rather > hacky and I think I may have broken a thing or two, but i got it to work > reasonably well in the REPL. > (many thanks to Jelle Licht and possibly others who initially wrote the i= mporter) >=20 > Considering that such a binary importer is probably not well-suited for > inclusion in guix-proper, I would like to make it available through an > additional channel, mostly for my own use but maybe also for others. >=20 > However, the commandline interface for ~guix import~ operates based on a > list of importers in (guix scripts import) in guix proper - is there a > way to replace this functionality so that additional guix channels could > "extend" the list of importers? (guix scripts import) could scan the subdirectories guix/scripts/import of %load-path for importers. See 'importer-modules' and '%updaters' in (guix upstream) for how to do this. Greetings, Maxime. --=-aLttGIb/5toalFMWk4fg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYUdMzBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kqmAQC66JA1ti7XVswYCW7aejlK4c0x jS7e8pJUBAdfJZ5svQD8CmS1neeces1pfsMLVCn+M3Ms/7YM1eiQcLHk0KZLGQI= =9tDs -----END PGP SIGNATURE----- --=-aLttGIb/5toalFMWk4fg--