diff --git a/pkgs/development/tools/go-task/default.nix b/pkgs/development/tools/go-task/default.nix index 3bbb466eaae4..8c456874899b 100644 --- a/pkgs/development/tools/go-task/default.nix +++ b/pkgs/development/tools/go-task/default.nix @@ -48,11 +48,11 @@ buildGoModule rec { installShellCompletion completion/{bash,fish,zsh}/* substituteInPlace $out/share/bash-completion/completions/task.bash \ - --replace-warn 'complete -F _task task' 'complete -F _task task go-task' + --replace-fail 'complete -F _task task' 'complete -F _task task go-task' substituteInPlace $out/share/fish/vendor_completions.d/task.fish \ - --replace-warn 'complete -c $GO_TASK_PROGNAME' 'complete -c $GO_TASK_PROGNAME -c go-task' + --replace-fail 'complete -c $GO_TASK_PROGNAME' 'complete -c $GO_TASK_PROGNAME -c go-task' substituteInPlace $out/share/zsh/site-functions/_task \ - --replace-warn '#compdef task' '#compdef task go-task' + --replace-fail '#compdef task' '#compdef task go-task' ''; passthru.tests = {