From b0c8f2be7d92d1c93b05d0f3307295ca5ea80cc7 Mon Sep 17 00:00:00 2001 From: aleksana Date: Mon, 16 Jun 2025 20:14:59 +0800 Subject: [PATCH] doc/installShellFiles: describe fifo more accurately --- doc/hooks/installShellFiles.section.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/hooks/installShellFiles.section.md b/doc/hooks/installShellFiles.section.md index edaea5895a3b..223c47f2e684 100644 --- a/doc/hooks/installShellFiles.section.md +++ b/doc/hooks/installShellFiles.section.md @@ -84,7 +84,7 @@ zsh). } ``` -The path may also be a fifo or named fd (such as produced by `<(cmd)`), in which +The path may also be the result of process substitution (e.g. `<(cmd)`), in which case the shell and name must be provided (see below). If the destination shell completion file is not actually present or consists of @@ -100,7 +100,7 @@ failure. To prevent this, guard the completion generation commands. { nativeBuildInputs = [ installShellFiles ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - # using named fd + # using process substitution installShellCompletion --cmd foobar \ --bash <($out/bin/foobar --bash-completion) \ --fish <($out/bin/foobar --fish-completion) \