overlay: use better perl convention in rex completions
This commit is contained in:
parent
87c4c5ff6a
commit
f585ebf893
@ -38,9 +38,9 @@ in {
|
||||
|
||||
fixupPhase = ''
|
||||
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 \
|
||||
--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 --bash ./share/rex-tab-completion.bash
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user