mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
aws-sso-cli: add xdg-utils dependency
Since the tool opens up the browser it requires xdg-open
This commit is contained in:
parent
bad39490e9
commit
c308cc9734
|
@ -1,4 +1,4 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, lib, makeWrapper, xdg-utils }:
|
||||
buildGoModule rec {
|
||||
pname = "aws-sso-cli";
|
||||
version = "1.9.2";
|
||||
|
@ -11,8 +11,12 @@
|
|||
};
|
||||
vendorSha256 = "BlSCLvlrKiubMtfFSZ5ppMmL2ZhJcBXxJfeRgMADYB4=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/aws-sso
|
||||
wrapProgram $out/bin/aws-sso \
|
||||
--prefix PATH : ${lib.makeBinPath [ xdg-utils ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue