From 09b5059c2ccef0f0e052502207c12afa49fc3626 Mon Sep 17 00:00:00 2001 From: zimward Date: Sun, 22 Feb 2026 18:57:06 +0100 Subject: [PATCH] readme: add entry for postHook --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e82a042..44037a9 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ Arguments: - Example: `[ "--silent" "--connect-timeout" "30" ]` - If provided, overrides automatic generation from `flags` - `preHook`: Shell script executed before the command (default: `""`) +- `postHook`: Shell script executed after the command. This will leave a bash process running, use with caution (default: `""`) - `passthru`: Additional attributes for the derivation's passthru (default: `{}`) - `aliases`: List of additional symlink names for the executable (default: `[]`) - `filesToPatch`: List of file paths (glob patterns) relative to package root to patch for self-references (default: `["share/applications/*.desktop"]`) @@ -172,6 +173,7 @@ Built-in options (always available): - `args`: Command-line arguments list (auto-generated from `flags` if not provided) - `env`: Environment variables - `preHook`: Shell script executed before the command (default: `""`) +- `postHook`: Shell script executed after the command. This will leave a bash process running, use with caution (default: `""`) - `passthru`: Additional passthru attributes - `filesToPatch`: List of file paths (glob patterns) to patch for self-references (default: `["share/applications/*.desktop"]`) - `filesToExclude`: List of file paths (glob patterns) to exclude from the wrapped package (default: `[]`)