patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Alyssa Ross <hi@alyssa.is>
To: Valentin Gagarin <valentin@gagarin.work>
Cc: devel@spectrum-os.org
Subject: Re: [PATCH] Documentation: don't repeat configuring the upstream cache
Date: Sun, 03 May 2026 19:28:32 +0200	[thread overview]
Message-ID: <87qznstnb3.fsf@alyssa.is> (raw)
In-Reply-To: <20260421140504.479906-1-valentin@gagarin.work>

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

Valentin Gagarin <valentin@gagarin.work> writes:

> On NixOS, repeating the default will make it show up in the
> configuration twice.  We're now relying on option merging to do the right
> thing.
>
> On vanilla Linux, repeating was only necessary because not adding
> `extra-` would override whatever was set otherwise.  This is generally
> undesirable, which is why now we're using `extra-` and thus don't need
> to repeat the defaults.
>
> Signed-off-by: Valentin Gagarin <valentin@gagarin.work>
> ---
>  Documentation/installation/binary-cache.adoc | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/installation/binary-cache.adoc b/Documentation/installation/binary-cache.adoc
> index a51e152..ec8d797 100644
> --- a/Documentation/installation/binary-cache.adoc
> +++ b/Documentation/installation/binary-cache.adoc
> @@ -29,9 +29,10 @@ Add the following configuration to /etc/nixos/configuration.nix:
>  { ... }:
>  
>  {
> -  nix.settings.substituters = [ "https://cache.dataaturservice.se/spectrum/" ];
> +  nix.settings.substituters = [
> +    "https://cache.dataaturservice.se/spectrum/"
> +  ];

Thanks!  FYI I'll drop this unrelated formatting change when I apply.

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

  reply	other threads:[~2026-05-03 17:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-21 14:05 [PATCH] Documentation: don't repeat configuring the upstream cache Valentin Gagarin
2026-05-03 17:28 ` Alyssa Ross [this message]
2026-05-03 17:30 ` Alyssa Ross

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=87qznstnb3.fsf@alyssa.is \
    --to=hi@alyssa.is \
    --cc=devel@spectrum-os.org \
    --cc=valentin@gagarin.work \
    /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://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

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 NNTP newsgroup(s).