Merge pull request #324 from hercules-ci/issue-323

Document attribute escaping
This commit is contained in:
Robert Hensing 2026-05-04 13:21:06 +01:00 committed by GitHub
commit a2a94cdb39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 46 additions and 1 deletions

View file

@ -29,6 +29,13 @@ mkTransposedPerSystemModule {
`nix bundle --bundler .#<name> .#<package>` bundles `<package>` using bundler `<name>`.
Define a `default` bundler to use `nix bundle --bundler .#`.
Attribute names containing special characters like `.` must be doubly quoted when used in installable arguments:
```bash
nix bundle --bundler '.#"example.com"' .#package
```
Consider using `:` or `/` as separators instead (e.g., `foo:bar`) for better command-line usability.
'';
};
file = ./bundlers.nix;