Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ Or if you want to try graphical applications:
./nix-bundle.sh ivan /bin/ivan
```

### Using the `nix bundle` command

This command is provided by Nix, so that Nix ends up calling `nix-bundle` for you.
It requires the `nix-command` and `flakes` experimental features to be enabled.

We use `meta.mainProgram` attribute and other indicators to decide which executable to bundle.

```sh
nix bundle nixpkgs#hello --bundler github:nix-community/nix-bundle
```

## Self-bundling (meta)

Expand Down