bash-my-aws: add runtime dependencies

wrap PATH to provide runtime utilities

authored by

Thomas Bereknyei and committed by
tomberek
c9064643 ca373323

+5 -1
+5 -1
pkgs/tools/admin/bash-my-aws/default.nix
··· 1 { lib, stdenv 2 , awscli 3 , jq 4 , fetchgit 5 , installShellFiles 6 , bashInteractive ··· 22 propagatedBuildInputs = [ 23 awscli 24 jq 25 bashInteractive 26 ]; 27 - nativeBuildInputs = [ installShellFiles ]; 28 29 checkPhase = '' 30 pushd test ··· 50 --replace .bash-my-aws "" 51 substituteInPlace bin/bma \ 52 --replace '~/.bash-my-aws' $out 53 installShellCompletion --bash --name bash-my-aws.bash bash_completion.sh 54 chmod +x $out/lib/* 55 patchShebangs --host $out/lib
··· 1 { lib, stdenv 2 + , makeWrapper 3 , awscli 4 , jq 5 + , unixtools 6 , fetchgit 7 , installShellFiles 8 , bashInteractive ··· 24 propagatedBuildInputs = [ 25 awscli 26 jq 27 + unixtools.column 28 bashInteractive 29 ]; 30 + nativeBuildInputs = [ makeWrapper installShellFiles ]; 31 32 checkPhase = '' 33 pushd test ··· 53 --replace .bash-my-aws "" 54 substituteInPlace bin/bma \ 55 --replace '~/.bash-my-aws' $out 56 + wrapProgram $out/bin/bma --prefix PATH : ${lib.makeBinPath [awscli jq unixtools.column bashInteractive ]} 57 installShellCompletion --bash --name bash-my-aws.bash bash_completion.sh 58 chmod +x $out/lib/* 59 patchShebangs --host $out/lib