From 56b4ce710ea96c6e52692373e92ffcfe44cd934c Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 10 Jun 2026 13:00:12 -0700 Subject: [PATCH] fetchurl: drop stale rewriteURL defaultText The `rewriteURL` default was changed from `lib.id` to `null`, but the `defaultText` override still rendered it as `(url: url)` in the manual. `null` is a primitive the option-doc system renders natively, so just drop the override. Assisted-by: Claude Code (claude-opus-4-8) --- pkgs/top-level/config.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix index 701d44cd2605..f2066315efb5 100644 --- a/pkgs/top-level/config.nix +++ b/pkgs/top-level/config.nix @@ -433,7 +433,6 @@ let The intended use is to allow URL rewriting to insert company-internal mirrors, or work around company firewalls and similar network restrictions. ''; default = null; - defaultText = literalExpression "(url: url)"; example = literalExpression '' { # Use Nix like it's 2024! ;-)