figsoda 2023-11-29 11:11:40 -05:00
parent a1ecbe2ea9
commit 1bec43e7a4

View File

@ -12,13 +12,13 @@
buildGoModule rec {
pname = "runme";
version = "2.0.0";
version = "2.0.2";
src = fetchFromGitHub {
owner = "stateful";
repo = "runme";
rev = "v${version}";
hash = "sha256-EUAYwm7nd7VRGbTth+ZXcgqqPSGKthv8sciO+iCpdds=";
hash = "sha256-9BXDYcIV31KLDauBzRnMs55jAKu+56WkgSrE/V+gje4=";
};
vendorHash = "sha256-xQuxoizcxut4qjXqgMEWMROiG53goxEXQas5n/2NiaY=";
@ -52,11 +52,6 @@ buildGoModule rec {
--replace /bin/bash "${runtimeShell}"
'';
# version test assumes `ldflags` is unspecified
preCheck = ''
unset ldflags
'';
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd runme \
--bash <($out/bin/runme completion bash) \