unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* idea: "guix cargo", "guix npm" etc
@ 2018-02-02 10:41 Andy Wingo
  2018-02-02 15:27 ` Jack Hill
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Wingo @ 2018-02-02 10:41 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: idea: "guix cargo", "guix npm" etc
  2018-02-02 10:41 idea: "guix cargo", "guix npm" etc Andy Wingo
@ 2018-02-02 15:27 ` Jack Hill
  0 siblings, 0 replies; 2+ messages in thread
From: Jack Hill @ 2018-02-02 15:27 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guix-devel

On Fri, 2 Feb 2018, Andy Wingo wrote:

> 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

Andy, et al.,

I like this idea! Like you I don't plan on working on it in the short 
term*, but wanted to let you know that you're not the only one who would 
find such a feature useful. I'm curious to hear what more experienced Guix 
community members think.

Best,
Jack

*I'm still pretty new to Guix, but hopefully I'll come up to speed 
quickly. I've started work on my first package definitions 
<https://gitlab.oit.duke.edu/jackhill/guix-packages/blob/master/next-browser.scm>, 
so that should help.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-02 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-02 10:41 idea: "guix cargo", "guix npm" etc Andy Wingo
2018-02-02 15:27 ` Jack Hill

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).