unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: jgart <jgart@dismail.de>, Guix Devel <guix-devel@gnu.org>
Subject: Re: Exact Versions and Guix Dev Tooling
Date: Wed, 26 Oct 2022 07:25:56 +0200	[thread overview]
Message-ID: <25c4c4b3f288e57bbb2e2cda78b29a229139fdfc.camel@gmail.com> (raw)
In-Reply-To: <20221025204951.GC6859@dismail.de>

Hi,

Am Dienstag, dem 25.10.2022 um 20:49 -0500 schrieb jgart:
> Hi,
> 
> What's the Guix approach to getting exact versions for a dev project.
> 
> Should we be contributing those packages upstream or should Guix just
> provide the tooling to generate exact package definitions for exact
> versions that are needed in a particular project?
> 
> For example, what if a dev needs the versions of every library you're
> using in a development project and they are not in Guix?
> 
> What is Guix's answer to that? Do they have to package everything and
> wait for it to get merged to the master branch?
You can manage channels, guix.scm and manifests however you want,
including packaging stuff at random commits.  The resulting files won't
be much prettier than your average lock file, but I'd assume that's the
point.

> I'm nodding to tools like these in the Nix community:
> 
> # PureScript
> 
> https://github.com/purs-nix/purs-nix
> https://github.com/justinwoo/spago2nix
> https://github.com/nix-community/poetry2nix
> 
> # Node
> 
> https://github.com/nix-community/npmlock2nix
> https://github.com/svanderburg/node2nix
> https://github.com/serokell/nix-npm-buildpackage
> 
> # Rust
> 
> https://github.com/kolloch/crate2nix
> https://github.com/oxalica/rust-overlay
> https://github.com/nix-community/fenix
> 
> Is our approach currently that if you develop with Guix you have to
> develop against the versions that are in Guix master or some other
> branch?
You can use importers for node and rust – for purescript you might be
able to reuse haskell or node tooling, idk? – but note that we don't
support pulling random commits.  You'd be well advised in using release
versions.  Again, you don't have to target Guix master and can maintain
your own channel to trim down your guix.scm or you can blow it up by
mentioning every package in existence down to mesboot.

Cheers


      reply	other threads:[~2022-10-26  5:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26  1:49 Exact Versions and Guix Dev Tooling jgart
2022-10-26  5:25 ` Liliana Marie Prikler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25c4c4b3f288e57bbb2e2cda78b29a229139fdfc.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).