all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jakob Kirsch via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 71983@debbugs.gnu.org
Subject: bug#71983: Export of %operating-system-packages
Date: Sun, 7 Jul 2024 20:02:51 +0200	[thread overview]
Message-ID: <a0481433-de15-4eab-9291-76771a53b5de@web.de> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 749 bytes --]

Hello,

I've been playing around with my system configuration a bit and I wanted 
to build a system with a kind of pipeline that I can pass my 
operating-system object through.

For that, I figured out that I can use set-fields from (srfi srfi-9 gnu) 
to modify the operating-system object using the accessor for the 
relevant field.

That works for most fields but doesn't work for 
operating-system-packages since that is locked behind a wrapper function 
for filtering out nss-certs that calls %operating-system-packages.

%operating-system-packages isn't exported so my approach fails.

Would it be possible to export %operating-system-packages and all other 
raw accessors so you can freely modify operating-system objects?


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 5825 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

                 reply	other threads:[~2024-07-08 20:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=a0481433-de15-4eab-9291-76771a53b5de@web.de \
    --to=bug-guix@gnu.org \
    --cc=71983@debbugs.gnu.org \
    --cc=jakob.kirsch@web.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.