From 6e5e64fc7485cc12dd98be07e9abcc52d63dfd86 Mon Sep 17 00:00:00 2001 From: Tom Bereknyei Date: Fri, 28 Jan 2022 10:23:57 -0500 Subject: [PATCH] bundler: suggested doc fixes --- src/nix/bundle.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/nix/bundle.md b/src/nix/bundle.md index f151eeabc..a5186a996 100644 --- a/src/nix/bundle.md +++ b/src/nix/bundle.md @@ -37,7 +37,7 @@ homepage](https://github.com/NixOS/bundlers) for more details. > > This command only works on Linux. -# Bundler definitions +# Flake output attributes If no flake output attribute is given, `nix bundle` tries the following flake output attributes: @@ -51,7 +51,7 @@ output attributes: # Bundlers -An bundlers is specified by a flake output attribute named +A bundler is specified by a flake output attribute named `bundlers..` or `defaultBundler.`. It looks like this: ```nix @@ -62,6 +62,7 @@ bundlers.x86_64-linux.blender_2_79 = drv: self.packages.x86_64-linux.blender_2_7 defaultBundler.x86_64-linux = drv: drv; ``` -A bundler must be a function that accepts a derivation and returns a derivation. +A bundler must be a function that accepts an arbitrary value (typically a +derivation or app definition) and returns a derivation. )""