From 7e9e82796ef918738b2365f3c821481e298bb2b4 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Mon, 24 Jul 2023 20:32:02 -0700 Subject: [PATCH] expand-response-params: explain what a "response file" is I hadn't heard of this term before, so I assume other people might not have either. This commit adds a comment to expand-response-params explaining what a "response file" is. Most mentions of "response file" in Nixpkgs are near some kind of reference to this derivation, so anybody trying to figure out what this is will encounter this comment pretty quickly. --- pkgs/build-support/expand-response-params/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/build-support/expand-response-params/default.nix b/pkgs/build-support/expand-response-params/default.nix index 9371b77023626..9facba6039b20 100644 --- a/pkgs/build-support/expand-response-params/default.nix +++ b/pkgs/build-support/expand-response-params/default.nix @@ -1,5 +1,11 @@ { stdenv }: +# +# A "response file" is a sequence of arguments that is passed via a +# file, rather than via argv[]. These are used mainly for platforms +# like Windows and Darwin that have awkwardly-small limits on the +# amount of memory that argv[] can use. +# stdenv.mkDerivation { name = "expand-response-params"; src = ./expand-response-params.c;