all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: znavko@disroot.org
Cc: help-guix@gnu.org
Subject: Re: How to remove %base-firmware from firmware variable
Date: Fri, 22 Jan 2021 20:02:30 +0100	[thread overview]
Message-ID: <87ft2sx0ah.fsf@nckx> (raw)
In-Reply-To: <0ba7d28367da59983741aba370601d0a@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

Znavko,

Guix's operating-system is a record.  Records are just key-value 
pair collections.  Some keys have default values, but there's no 
need to remove anything when you simply want to replace the 
default.

znavko--- via 写道:
> I just want to unset 'firmware' or make it totally empty.

Pass the empty list as its value:

(operating-system
  ...
  (firmware (list))                     ; or '() if you like that
  ...)

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2021-01-22 19:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22 18:49 How to remove %base-firmware from firmware variable znavko--- via
2021-01-22 19:02 ` Tobias Geerinckx-Rice [this message]
2021-01-22 19:35 ` znavko

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=87ft2sx0ah.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=znavko@disroot.org \
    /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.