about summary refs log tree commit diff
path: root/nixpkgs/doc/packages/urxvt.section.md
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/doc/packages/urxvt.section.md')
-rw-r--r--nixpkgs/doc/packages/urxvt.section.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixpkgs/doc/packages/urxvt.section.md b/nixpkgs/doc/packages/urxvt.section.md
index 7aff0997dd2b..1d40c92ed73f 100644
--- a/nixpkgs/doc/packages/urxvt.section.md
+++ b/nixpkgs/doc/packages/urxvt.section.md
@@ -65,7 +65,9 @@ A plugin can be any kind of derivation, the only requirement is that it should a
 If the plugin is itself a Perl package that needs to be imported from other plugins or scripts, add the following passthrough:
 
 ```nix
-passthru.perlPackages = [ "self" ];
+{
+  passthru.perlPackages = [ "self" ];
+}
 ```
 
 This will make the urxvt wrapper pick up the dependency and set up the Perl path accordingly.