unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: david larsson <david.larsson@selfhosted.xyz>
To: Sarthak Shah <shahsarthakw@gmail.com>
Cc: "Guix Devel" <guix-devel@gnu.org>,
	"Gábor Boskovits" <gboskovits@gmail.com>,
	"Pjotr Prins" <pjotr.public12@thebird.nl>,
	"Ludovic Courtès" <ludo@gnu.org>,
	guix-devel-bounces+david.larsson=selfhosted.xyz@gnu.org
Subject: Re: Discussion on Parameterized Packages
Date: Sat, 13 May 2023 20:26:13 +0200	[thread overview]
Message-ID: <f29a6784fc86d91d53f90aec72609fe4@selfhosted.xyz> (raw)
In-Reply-To: <CADBZEV=FjZVCAQx=4MYT-+iKYG+1ZV-AB8gEUHQjiyHj+pd_Ag@mail.gmail.com>

On 2023-05-11 17:08, Sarthak Shah wrote:
> Hello Guix!
> I'll be working on bringing Parameterized Packages to Guix for GSoC
> 2023 under the guidance of Gábor and Pjotr. I've been a Guix user for
> a few years now as it works great for Common Lisp and Scheme projects,
> and I've always wanted to contribute to it as it has one of the best
> codebases I've seen. Parameterized Packages will serve as an awesome
> feature that leverages Guix's dedication to ensuring that all packages
> can be compiled from source.
> Parameterized Packages will introduce functionality similar to
> Gentoo's USE flags, making it possible to change compile-time options
> for packages. This will provide users with a lot more freedom over
> what features they'd like to include or exclude from packages, and
> also aid with reducing the size of binaries.
> I have provided a detailed outline of parameterized packages and the
> proposed user interface for interacting with them (for both users and
> maintainers) in this post on my blog:
> https://blog.lispy.tech/2023/05/parameterized-packages.html
> 
> I would really appreciate feedback on
> 
> (1) parameters you'd like to see in Guix
> 
> (2) the user interface for searching/installing/packaging with
> parameters

Im not sure this belongs as a parameter per se, but I would like to see 
something like a stable "parameter", that only uses stable features and 
stable versions of packages when applied on an operating system level 
(which was suggested as being a possible level to apply at in the blog 
post), thus:

   "guix build python-SOMEPACKAGE --with-parameter=stable"

would recursively use only the stable version of the package, including 
stable version of the dependencies.

If this were a thing, Guix could avoid an LTS version, and just run 
GuixLTS via package-parameters - which would be, uhm fun, IMO :-)

Maybe something to put into package-properties 
(https://github.com/guix-mirror/guix/blob/270db2a56bc50bcab5739de2c9393644ab65ac6c/guix/packages.scm#L611)

Best regards,
David



  parent reply	other threads:[~2023-05-13 18:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11 15:08 Discussion on Parameterized Packages Sarthak Shah
2023-05-11 18:04 ` Csepp
2023-05-13 16:54 ` Liliana Marie Prikler
2023-05-13 18:26 ` david larsson [this message]
2023-05-13 18:32   ` david larsson
2023-05-15 11:49 ` Simon Tournier

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=f29a6784fc86d91d53f90aec72609fe4@selfhosted.xyz \
    --to=david.larsson@selfhosted.xyz \
    --cc=gboskovits@gmail.com \
    --cc=guix-devel-bounces+david.larsson=selfhosted.xyz@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    --cc=pjotr.public12@thebird.nl \
    --cc=shahsarthakw@gmail.com \
    /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).