aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Bereknyei <tomberek@gmail.com>2022-01-28 10:23:57 -0500
committerTom Bereknyei <tomberek@gmail.com>2022-01-28 10:25:05 -0500
commit6e5e64fc7485cc12dd98be07e9abcc52d63dfd86 (patch)
tree4c0817711ff2c39770e5cf5587a952dabd74bf82
parent2bf96bd9f299885b38cafa460a06c77f0c296dfe (diff)
bundler: suggested doc fixes
-rw-r--r--src/nix/bundle.md7
1 files 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.<system>.<name>` or `defaultBundler.<system>`. 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.
)""