diff --git a/pkgs/development/tools/buildah/default.nix b/pkgs/development/tools/buildah/default.nix index 43acdd762eb..c40332ff8da 100644 --- a/pkgs/development/tools/buildah/default.nix +++ b/pkgs/development/tools/buildah/default.nix @@ -11,17 +11,19 @@ , libapparmor , libselinux , libseccomp +, testers +, buildah }: buildGoModule rec { pname = "buildah"; - version = "1.29.1"; + version = "1.30.0"; src = fetchFromGitHub { owner = "containers"; repo = "buildah"; rev = "v${version}"; - hash = "sha256-l21mirarWEOd+XxyM0YgfDiA1JSEr/uqREmBS22C9fs="; + hash = "sha256-h0fipw3lJKy+VkGkh1XbZ6wUOg4001uURoJpjNq7QOs="; }; outputs = [ "out" "man" ]; @@ -58,6 +60,10 @@ buildGoModule rec { runHook postInstall ''; + passthru.tests.version = testers.testVersion { + package = buildah; + }; + meta = with lib; { description = "A tool which facilitates building OCI images"; homepage = "https://buildah.io/"; diff --git a/pkgs/development/tools/buildah/wrapper.nix b/pkgs/development/tools/buildah/wrapper.nix index 575ee45d7d8..7b9a672d699 100644 --- a/pkgs/development/tools/buildah/wrapper.nix +++ b/pkgs/development/tools/buildah/wrapper.nix @@ -41,7 +41,7 @@ let in runCommand buildah-unwrapped.name { name = "${buildah-unwrapped.pname}-wrapper-${buildah-unwrapped.version}"; - inherit (buildah-unwrapped) pname version; + inherit (buildah-unwrapped) pname version passthru; preferLocalBuild = true;