diff options
Diffstat (limited to 'pkgs/by-name/am/amazon-ssm-agent/package.nix')
-rw-r--r-- | pkgs/by-name/am/amazon-ssm-agent/package.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/by-name/am/amazon-ssm-agent/package.nix b/pkgs/by-name/am/amazon-ssm-agent/package.nix index e19669d546b0..6d12e6e55701 100644 --- a/pkgs/by-name/am/amazon-ssm-agent/package.nix +++ b/pkgs/by-name/am/amazon-ssm-agent/package.nix @@ -41,13 +41,13 @@ let in buildGoModule rec { pname = "amazon-ssm-agent"; - version = "3.3.859.0"; + version = "3.3.987.0"; src = fetchFromGitHub { owner = "aws"; repo = "amazon-ssm-agent"; rev = "refs/tags/${version}"; - hash = "sha256-Qxzq91GXOrssBO9VaQTkLZjVqdpUYoYq3N/rakwewJs="; + hash = "sha256-uwAMDFSIeM3tE+F/QLUxXVItnfsqyGhAPybaG5JxhZM="; }; vendorHash = null; @@ -63,7 +63,7 @@ buildGoModule rec { nativeBuildInputs = [ makeWrapper - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.DarwinTools ]; @@ -95,7 +95,7 @@ buildGoModule rec { --replace-fail "/sbin/shutdown" "shutdown" echo "${version}" > VERSION - '' + lib.optionalString stdenv.isLinux '' + '' + lib.optionalString stdenv.hostPlatform.isLinux '' substituteInPlace agent/managedInstances/fingerprint/hardwareInfo_unix.go \ --replace-fail /usr/sbin/dmidecode ${dmidecode}/bin/dmidecode ''; |