From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mFzgNEf8UGGyUAEAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 01:03:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2KtzMEf8UGEJCQAAB5/wlQ (envelope-from ) for ; Sun, 26 Sep 2021 23:03:35 +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 E39153145B for ; Mon, 27 Sep 2021 01:03:34 +0200 (CEST) Received: from localhost ([::1]:45922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUdBG-0001Ac-3U for larch@yhetil.org; Sun, 26 Sep 2021 19:03:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUchi-0002wL-Re for guix-devel@gnu.org; Sun, 26 Sep 2021 18:33:02 -0400 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:39788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUchg-00014v-Ts for guix-devel@gnu.org; Sun, 26 Sep 2021 18:33:02 -0400 Received: by mail-qk1-x734.google.com with SMTP id f130so34749051qke.6 for ; Sun, 26 Sep 2021 15:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=F8umV46HewEwFS/zhiR3ujvTP5yOO1SA6PPciXSuFoo=; b=kpXmf+RJHStW/jqi6EJCgn3Lb8UipszE/I/UnrD9aWn6Z0tSL3krDh7b47PvA9v+UK tA0jVLh1osqk4P6OxQ8jwKu8T/IMAMj0oLktZ/PYWh/YBQMDTEqCYFeYhSGobkn2eBTa 8kfF4gksCb4Cj9FrzDA613V22yNLq9aUcJIn3KtatlyrFuRex8WRUCSyJsTmBBvJg2FZ l9SWA205A4cl46jVSLHbr3WcfPZaciDj2ywy4Tsj+F+Dh5Mqj+VLDgNTIEAj8TKe/x+O 7d3VpXRFbQcyrcb98GPpsthCHyq68vHHJTr/FhRHyfrrpcIYNF7waZdce9stgSZVpxud Db8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=F8umV46HewEwFS/zhiR3ujvTP5yOO1SA6PPciXSuFoo=; b=eCkID/s1ZRkjL9pytx1vY+sLFg2s73lCqw/tl5pmPPXnhH4tx70FagBEx37/kYbTzB 6qE5SGaSW7TBqeNaIoYMcosuvGr6vl34Gj9rHD7BwrtH+n5IkNridAF4JQ+HoN1/nAlv rlNr814bVSUL5WszKhn9XdqyrWuFOKyBmeQ2Wehiauu3EdOL/TlkHtyOyb0UTstAQe7a 1ykJvDcebCOpRYtb2ijqf3+PTZ137Oi7dl9IbG3Aw3yFqQJi7gL5T9tg/FPilk+w055v u1tA9ObCZwQDkKuTYJClAZRutjxSA2RaniqcfZo9FSk/nZRKHp968AG4iN5I86qKvdSt eyiQ== X-Gm-Message-State: AOAM531Oij+OB6dN3ILYx2UoZpBpLwyXnIkcbRgzNCGjSQA+AdNFINSH 5CNIYT4MAYYfUarsuvu7nWVqR7XeUqOsM2cd X-Google-Smtp-Source: ABdhPJzlIEpAis92rPrGonY3lmFqE4FZfJQNLKXrf6iunabCLqw1BmuIQwrh2yO97lbVUMbcM9bhCg== X-Received: by 2002:a37:a54c:: with SMTP id o73mr21564902qke.334.1632695579057; Sun, 26 Sep 2021 15:32:59 -0700 (PDT) Received: from [192.168.45.37] (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id g13sm4859834qkk.22.2021.09.26.15.32.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Sep 2021 15:32:58 -0700 (PDT) Subject: =?UTF-8?B?UmU6IE1lcmdpbmcgdGhlIOKAnGJpbmFyeeKAnSBOUE0gaW1wb3J0ZXI/?= To: pinoaffe , Jelle Licht , =?UTF-8?Q?Ludovic_Court=c3=a8s?= , Christine Lemmer-Webber References: <87mto8zpll.fsf@airmail.cc> <87zgs3829p.fsf@gnu.org> <87tuiaq411.fsf@airmail.cc> <864ka7qwz1.fsf@fsfe.org> <87bl4fdnr2.fsf@airmail.cc> From: Philip McGrath Message-ID: <4eb892ad-9c28-290b-1773-e8e3725faac3@philipmcgrath.com> Date: Sun, 26 Sep 2021 18:32:58 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <87bl4fdnr2.fsf@airmail.cc> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: neutral client-ip=2607:f8b0:4864:20::734; envelope-from=philip@philipmcgrath.com; helo=mail-qk1-x734.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, NICE_REPLY_A=-0.478, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 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: , Cc: guix-devel@gnu.org 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=1632697415; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=F8umV46HewEwFS/zhiR3ujvTP5yOO1SA6PPciXSuFoo=; b=Cw6HPwBB3GWdu1fICjTDZiokNMMvK5cfdvkLNj9h0zEoSVAQ2PDgP1KA9f/LYhZmISCyiL 6tGsuDhtoLjt4vhajFOzrHUg83N3tt6h14aoNRcxXcjmt3kuHC5Fl0PzSTndzkto2HB46r RhI4EtvkyUqZuH98B09WisiYVZi4qaZPHpbFBKGcVarRiaE5z4B5EgozXGQYObpaPUGs5C RGGAbwb419CP1A+ocg6FUo+opgG3MGcK6qzf56pwPxTBkNCeJF2BUVrsSczNgsonpOHRwX RfHi21j+GXhhzCxsRibraMJsBd1xHgb1V3ZwPxa6koCYwPebVmI0fzGGoCJdcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632697415; a=rsa-sha256; cv=none; b=jG4Y4hZCslL0LLEiYXZOYCGqQQMvfaN8TZzbNiCxpIFk/7A6QCUfsW+E7iO/8Rvam+jdiS pcHADF9vRHGFQOO1kEJD5NrLYKSuGW9db4lk9bX1qPp/MfuIxhQCjNxhc+hZ3f10RLn1pi ZzN57+0iqN95WmyyFO4RZbzP8UXVrYYEKX9kJGLghP81BThsuhlH5/7M3l4w4AvQvQMi43 2lVYEAcFrMeUweE6Evw3+ox5Hcgj3P+9PvV6+wwvDSa2/oqIWzs2S3OndfeQb/WSWyMHtY octpt3SG2qHAXpgWgnyDUBwBbM4IgeYUhykHf+BClEYMDgAKcn+IOA7jTetWEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=philipmcgrath.com header.s=google header.b=kpXmf+RJ; dmarc=none; 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: -1.59 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=philipmcgrath.com header.s=google header.b=kpXmf+RJ; dmarc=none; 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: E39153145B X-Spam-Score: -1.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: hbWxfxc5qcT7 Hi, I've been using the NPM binary importer recently, and I'm also in favor of merging it. Aside from helping me get practical work done, it's also pointed me toward things in the Node package and node-build-system that may need to be tweaked (e.g. https://issues.guix.gnu.org/49946#71). So, like Christine, I hope that letting people use Guix to work on Node/NPM stuff would ultimately help the cause of making NPM packages work in Guix the right way. On 9/26/21 5:34 PM, pinoaffe wrote: > Jelle Licht writes: >> Could you perhaps list some additional blockers? We can always refine >> and improve on an acceptable upstreamed version, since it will be a >> once-and-done tool instead of some stable API. > > I think one would also need to deal with the fact that a recursive > import is likely to include several versions of the same package, This did seem to happen with a large package I imported, but the multiple versions coexisting seemed to work ok. Ultimately, Guix will somehow need to deal with the messy versioning of the NPM world, and it would be nice to keep the duplication to a minimum, but that seems like it might be a challenge. Since the recursive imports do currently work, I don't think it needs to be a blocker. > and I think rebasing might end up requiring a bit of rewriting since it > appears to me that some of the interfaces used in the guix-npm-binary > importer have changed since it was written Here's the version I've been using, rebased on August 3: One issue I did notice is that the export `package-json->guix-package` seems to be undefined. -Philip