From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: idea: "guix cargo", "guix npm" etc Date: Fri, 02 Feb 2018 11:41:07 +0100 Message-ID: <877ervy8qk.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehcX3-0006zi-Bs for guix-devel@gnu.org; Fri, 02 Feb 2018 09:41:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehcWy-0000w5-Gf for guix-devel@gnu.org; Fri, 02 Feb 2018 09:41:37 -0500 Received: from pb-sasl1.pobox.com ([64.147.108.66]:61705 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ehcWy-0000mn-DV for guix-devel@gnu.org; Fri, 02 Feb 2018 09:41:32 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id E3D08C67FF for ; Fri, 2 Feb 2018 05:43:29 -0500 (EST) Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id DC0C0C67FE for ; Fri, 2 Feb 2018 05:43:29 -0500 (EST) Received: from sparrow (unknown [78.29.200.42]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id E2A8EC67FD for ; Fri, 2 Feb 2018 05:43:10 -0500 (EST) 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org A little idea inspired by Eelco's talk at the Guix miniconference. The "problem" is that users are often more used to their language-specific package manager than Guix. They find "cargo install foo" to be convenient. However this rarely results in a reproducible build in the sense of Guix or Nix. So, an idea: why not offer a subset of the command-line interface of "cargo" et al? Specifically the commands to install a package. The "guix cargo" command would translate "cargo install" instantiations to Guix commands. If the package is in Guix, then it installs directly. If not, maybe it runs the importer and prepares a package submission to Guix? Just an idea! I don't plan on working on this in the short term. Andy