overlay: use better perl convention in rex completions

This commit is contained in:
Aaron Bieber 2023-01-14 07:27:07 -07:00
parent 87c4c5ff6a
commit f585ebf893
No known key found for this signature in database

View File

@ -38,9 +38,9 @@ in {
fixupPhase = '' fixupPhase = ''
substituteInPlace ./share/rex-tab-completion.zsh \ substituteInPlace ./share/rex-tab-completion.zsh \
--replace 'perl' "${pkgs.perl}/bin/perl -I ${pkgs.perlPackages.YAML}/${pkgs.perlPackages.YAML.perlModule.libPrefix}" --replace 'perl' "${pkgs.perl.withPackages (ps: [ ps.YAML ])}/bin/perl"
substituteInPlace ./share/rex-tab-completion.bash \ substituteInPlace ./share/rex-tab-completion.bash \
--replace 'perl' "${pkgs.perl}/bin/perl -I ${pkgs.perlPackages.YAML}/${pkgs.perlPackages.YAML.perlModule.libPrefix}" --replace 'perl' "${pkgs.perl.withPackages (ps: [ ps.YAML ])}/bin/perl"
installShellCompletion --name _rex --zsh ./share/rex-tab-completion.zsh installShellCompletion --name _rex --zsh ./share/rex-tab-completion.zsh
installShellCompletion --name _rex --bash ./share/rex-tab-completion.bash installShellCompletion --name _rex --bash ./share/rex-tab-completion.bash
''; '';