Loading pkgs/tools/misc/engage/default.nix +17 −0 Original line number Diff line number Diff line { lib , installShellFiles , rustPlatform , fetchgit }: Loading @@ -19,6 +20,22 @@ rustPlatform.buildRustPackage { cargoHash = "sha256-+4uqC0VoBSmkS9hYC1lzWeJmK873slZT04TljHPE+Eo="; nativeBuildInputs = [ installShellFiles ]; postInstall = "installShellCompletion --cmd ${pname} " + builtins.concatStringsSep " " (builtins.map (shell: "--${shell} <($out/bin/${pname} self completions ${shell})") [ "bash" "fish" "zsh" ] ); meta = { description = "A task runner with DAG-based parallelism"; homepage = "https://or.computer.surgery/charles/engage"; Loading Loading
pkgs/tools/misc/engage/default.nix +17 −0 Original line number Diff line number Diff line { lib , installShellFiles , rustPlatform , fetchgit }: Loading @@ -19,6 +20,22 @@ rustPlatform.buildRustPackage { cargoHash = "sha256-+4uqC0VoBSmkS9hYC1lzWeJmK873slZT04TljHPE+Eo="; nativeBuildInputs = [ installShellFiles ]; postInstall = "installShellCompletion --cmd ${pname} " + builtins.concatStringsSep " " (builtins.map (shell: "--${shell} <($out/bin/${pname} self completions ${shell})") [ "bash" "fish" "zsh" ] ); meta = { description = "A task runner with DAG-based parallelism"; homepage = "https://or.computer.surgery/charles/engage"; Loading