aboutsummaryrefslogtreecommitdiff
path: root/misc/zsh/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'misc/zsh/meson.build')
-rw-r--r--misc/zsh/meson.build7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/zsh/meson.build b/misc/zsh/meson.build
index 8063a5cb8..bd388a31f 100644
--- a/misc/zsh/meson.build
+++ b/misc/zsh/meson.build
@@ -1,10 +1,9 @@
foreach script : [ [ 'completion.zsh', '_nix' ], [ 'run-help-nix' ] ]
- configure_file(
- input : script[0],
- output : script.get(1, script[0]),
+ fs.copyfile(
+ script[0],
+ script.get(1, script[0]),
install : true,
install_dir : datadir / 'zsh/site-functions',
install_mode : 'rw-r--r--',
- copy : true,
)
endforeach