Merge pull request #270969 from figsoda/runme

runme: 2.0.0 -> 2.0.2
This commit is contained in:
Weijia Wang 2023-11-30 03:05:19 +01:00 committed by GitHub
commit a547f2929f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) \