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